Hi, your code was high useful! I only have 2 questions.
- You use pin 22 to set battery charge speed to 100mA… some other people said that the pin is PIN_13, so I got confused (I’m new programing microcontrollers).
- About the battery, which voltage indicates full charged battery and which an empty battery? I’m using Lipo 503440 1000 mAh. I dont want to make a mess