nicholaswilde / solar-battery-charger

:battery: A solar battery charger to charge lithium ion (li-ion) 18650, 9V, and coin batteries and Ni-MH AA and AAA batteries. :sunny:
https://nicholaswilde.io/solar-battery-charger/
Apache License 2.0
2 stars 0 forks source link

Go to sleep while charging with button press #50

Closed nicholaswilde closed 2 years ago

nicholaswilde commented 2 years ago

When button A is pressed while charging, the screen turns on. However, the Feather can't go back to sleep without resetting the Feather all together which will also upload a new data point to ThingSpeak. See if the button press when the display is on and charging can put the Feather back to sleep without resetting and sleep for the time remaining in order to keep the upload interval the same.