Fix error of backlight

This commit is contained in:
jyy
2026-04-24 11:06:05 +08:00
parent c0f2342667
commit 922bc33584
2 changed files with 3 additions and 1 deletions
@@ -71,6 +71,8 @@ void app_main(void)
}
M5.begin();
M5.Power.begin();
M5.Power.Axp192.setLDO2(2800); // set LDO2 to 2.8V for external devices
M5.Imu.init(&M5.In_I2C); // init IMU with internal I2C port
printf("IN_I2C port: %d\n", M5.In_I2C.getPort());
printf("M5 Display width: %ld, height: %ld\n", M5.Display.width(), M5.Display.height());