}, BTN, {repeat:true; edge:'both'});
and the button is probably not named BTN. Should be BTN1 or BTN2 according to this
@fanoush 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.
and the button is probably not named BTN. Should be BTN1 or BTN2 according to this