You don't even have to toggle setDeepSleep - once turned on, Espruino will wake up and go to deep sleep automatically - unless you use Serial ports or PWM you shouldn't notice any difference apart from reduced power consumption.
You can't turn Espruino off in software yet, but to be honest the difference in power consumption between being off and in deep sleep is quite small.
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.
You don't even have to toggle
setDeepSleep
- once turned on, Espruino will wake up and go to deep sleep automatically - unless you use Serial ports or PWM you shouldn't notice any difference apart from reduced power consumption.You can't turn Espruino off in software yet, but to be honest the difference in power consumption between being off and in deep sleep is quite small.