pure C port of AXP202X_Libraries by lewisxhe
lewisxhe's AXP202X library is ESP-IDF compatible (but i didn't noticed, it was 20days ago). So i publish this, but highly recommend you to use his original work.
This is a pure C port of the C++ code, which can be used as a component for ESP-IDF. Nothing has been added, and very little was removed. It now uses ESP-IDF i2c API.
in project/components
, clone the repository as submodule:
cd components
git submodule https://github.com/tixlegeek/C_AXP202X_Library.git
cd ..
idf.py menuconfig
The original purpose of this port was to be part of a lilygo's TWatch 2020 v1 framework adaptation for the ESP-EDF. Most of the details of the project are on tixlegeek.io (fr)