Great! The whole disconnect...sleep thing sounds like a great idea!
disconnect...sleep
Then to automatically turn off, all you have to do is call disconnect - and you wake up when you press the button.
disconnect
@Gordon started
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.
Great! The whole
disconnect...sleep
thing sounds like a great idea!Then to automatically turn off, all you have to do is call
disconnect
- and you wake up when you press the button.