do you know an easy and elegant way to monitor the battery charge (remaining voltage) of the power source of the Espruino and react when the battery is low and put the Espruino into sleep mode?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hello everyone,
do you know an easy and elegant way to monitor the battery charge (remaining voltage) of the power source of the Espruino and react when the battery is low and put the Espruino into sleep mode?
Best,
Tobias