Skip to content

Add Battery Icon

Compare
Choose a tag to compare
@mongonta0716 mongonta0716 released this 12 Jun 04:13
· 50 commits to master since this release
  • Add BatteryIcon

    • setBatteryIcon(boolean);
      Execute when you want to show/hide setup() and icons.
    • setBatteryStatus(M5.Power.isCharging(), M5Power.getBatteryLevel());
      The battery status must be set from time to time; be careful to avoid conflicts with I2C communication. For example, if you run it in parallel with M5.update(), the value may be incorrect.
  • fix #84