mirror of
https://github.com/m5stack/StackChan.git
synced 2026-04-27 11:02:40 +00:00
Merge pull request #32 from m5stack/remote-dev
fix(remote):Open backlight manually.
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user