I'm a bit confused as of why it works only one time for each button press.
The default for setWatch is to fire only once... If you do:
setWatch
setWatch(() => { /... }, BTN3, {repeat:true});
You'll be sorted!
@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.
The default for
setWatch
is to fire only once... If you do:You'll be sorted!