lewisxhe / AXP202X_Library

Arduino & ESP-IDF libraries written for AXP19x, 20x
MIT License
91 stars 40 forks source link

New Coulomb functions to start/stop/clear coulomb counter via registe… #17

Closed MrFlexi closed 4 years ago

MrFlexi commented 4 years ago

Hello Lewisxhe,

i added new functions to start/stop/clear the coulomb counter via AXP controll register 0xB8. There is also a little bug fix for function getBattChargeCoulomb. The register should be 0xB0.

Greetings from Munich,

Jochen

lewisxhe commented 4 years ago

Thank you bro. Some features have not been tested before