Ahh, thanks - I'll look into this now.
Seems to be some issue with setWatch. If you put print(getPinMode(BTN)) before and after it, it seems to change the state :(
setWatch
print(getPinMode(BTN))
@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.
Ahh, thanks - I'll look into this now.
Seems to be some issue with
setWatch
. If you putprint(getPinMode(BTN))
before and after it, it seems to change the state :(