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:
@@ -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
|
||||
|
||||
5
tests/components/mlx90393/test.esp32-s3-ard.yaml
Normal file
5
tests/components/mlx90393/test.esp32-s3-ard.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
<<: !include common.yaml
|
||||
5
tests/components/mlx90393/test.esp32-s3-idf.yaml
Normal file
5
tests/components/mlx90393/test.esp32-s3-idf.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
<<: !include common.yaml
|
||||
Reference in New Issue
Block a user