1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00

[mlx90393] Fix inverted gain and resolution. Expose temperature_compensation and hallconf. (#7635)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
functionpointer
2025-02-27 19:28:12 +01:00
committed by GitHub
parent a831905bba
commit 1029202848
6 changed files with 80 additions and 38 deletions

View File

@@ -7,14 +7,17 @@ sensor:
- platform: mlx90393
oversampling: 1
filter: 0
gain: 3X
gain: 1X
temperature_compensation: true
x_axis:
name: mlxxaxis
resolution: DIV_2
y_axis:
name: mlxyaxis
resolution: DIV_1
z_axis:
name: mlxzaxis
resolution: 17BIT
resolution: DIV_2
temperature:
name: mlxtemp
oversampling: 2

View File

@@ -0,0 +1,5 @@
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
<<: !include common.yaml

View File

@@ -0,0 +1,5 @@
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
<<: !include common.yaml