Just to get a bit deeper: should the button beeing waited for be a pull-up or a pull-down? At this level of power consumption, any leakage is costly.
@asez73 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.
Just to get a bit deeper: should the button beeing waited for be a pull-up or a pull-down? At this level of power consumption, any leakage is costly.