n0xa / m5stick-nemo

M5 Stick C firmware for high-tech pranks
Other
731 stars 148 forks source link

Support for battery info and M5LED fix for M5Stickc plus2 #63

Closed chr0m1ng closed 7 months ago

chr0m1ng commented 7 months ago

This PR adds the feature PWRMGMT to use M5.Power to get battery information for the M5Stickc plus2. This also add/fix M5 LED for M5Stickc plus2.

n0xa commented 7 months ago

Can you see if the battery level work in the develop branch works? There was an older PR covering this.

chr0m1ng commented 7 months ago

Can you see if the battery level work in the develop branch works? There was an older PR covering this.

It doesn't even appear on the settings page, also you have an issue with the PT_BR version in m5stick-nemo.ino#L480 where is XT_ROTATION should be TXT_ROTATION

IMG_9869

chr0m1ng commented 7 months ago

@n0xa I've changed the PR to support localization, fixed the misspelled txt rotation and moved the M5LED ON/OFF values to macros, cause in M5StickcPlus2 if you set HIGH it will turn on (not off), which was causing the M5LED to be ON all the time