M5Unified icon indicating copy to clipboard operation
M5Unified copied to clipboard

M5 Core2 v1.1 power LED

Open mjau-scot opened this issue 1 year ago • 1 comments

It appears to be impossible to turn off the power LED on v1.1 of the Core2. M5.Power.setLed(0) works fine on v1.0 of Core2, but it doesn't seem to work on v1.1.

It's definitely possible to turn off the LED on v1.1, I've successfully switched it off in another application that uses the latest version of M5Core2.h using M5.Axp.SetLed(false).

Would it be possible to extend this functionality to M5Unified?

Thanks.

mjau-scot avatar Mar 29 '24 14:03 mjau-scot

There seems to be a difference between v1.0 and v1.1 of Core2 according to #102 regarding the Power LED:

... due to the difference in specifications between AXP192 and AXP2101

While #86 indicates that the code implementation for AXP2101 is not yet complete.

mdxs avatar Apr 17 '24 14:04 mdxs