The AXP202 Power System Management driver
The axp202 driver is a pure MicroPython driver written by Lewis He found on github:
https://github.com/lewisxhe/AXP202_PythonLibrary
There are simply too many methods in this driver to describe all of them here. You will have to look them up in the driver source code.
A few connection details:
- LDO2: controls power to the display back light
- LDO3: controls power to the sound system
- The push button on the t-watch is the "Power Enable Key" connected between the PWRON pin and GND od the AXP202. The AXP202 can distinguish between "Long-Press" and "Short-Press" and react accordingly.
--
Uli Raich - 2021-01-25
Comments