6 Commits

Author SHA1 Message Date
Stefan Thoss
469b50b607 Add battery charging state and voltage (#1) 2023-12-22 21:22:26 -08:00
Stefan Thoss
89adb157fa First working version 2023-12-21 20:51:50 -08:00
Stefan Thoss
f215521303 Change to AXP2102 2023-12-21 20:50:53 -08:00
Chris Metcalfe
35e0c12938 fix brightness of m5core2 screen
m5core2 uses DC-DC3 to control brightness rather than using LDO2. DC-DC3 is controlled by the 7 least significant bits in the 0x27 register; the most significant bit is reserved. As a result the brightness value shifts left 3 places rather than 4. in order to set the register I read the entire byte, logical AND with 0x80 to clear all bits except the reserved bit, logical OR with the shifted brightness value.

added brightness to the sample m5core2 config
2022-10-10 19:05:18 -05:00
marty@dingo.sh
e0adb42e6d actually commit m5core.yaml 2022-09-09 01:16:47 +01:00
marty@dingo.sh
401605df03 initial commit 2022-09-03 17:13:33 +01:00