Skip to content

Commit e3c461f

Browse files
Waveshare IMU is also facing down
1 parent 141fc20 commit e3c461f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal_filesystem/lib/mpos/board/waveshare_esp32_s3_touch_lcd_2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,6 @@ def adc_to_voltage(adc_value):
125125

126126
# IMU is on I2C0 (same bus as touch): SDA=48, SCL=47, addr=0x6B
127127
# i2c_bus was created on line 75 for touch, reuse it for IMU
128-
SensorManager.init(i2c_bus, address=0x6B)
128+
SensorManager.init(i2c_bus, address=0x6B, mounted_position=SensorManager.FACING_EARTH)
129129

130130
print("waveshare_esp32_s3_touch_lcd_2.py finished")

0 commit comments

Comments
 (0)