Get FireBeetle ESP32-E charging state
![userHead](https://dfimg.dfrobot.com/dfPortrait2.png)
Hi, I recently got a FireBeetle ESP32-E (DFR0654) and attached a battery. Now I was wondering if it's possible in code to get the charging state (charging, fully charged, no battery connected). Maybe through one of the IO pins? Alternatively, would it be possible to determine if the device is powered through the battery or USB port?
Any help would be appreciated.
2022-07-19 16:17:14
Teratull
Thanks for your reply. IO34 gives me the battery voltage, but does not tell me if the battery is being charged or not. So unfortunately it will not suite my use cases, knowing if the battery is being charged or if the board is powered by battery or USB.
![userHeadPic](https://dfimg.dfrobot.com/dfPortrait2.png)