Ok, I just got a Nucleo and tested this... I've just added Nucleo.D0/etc if you want to try it out.
It turns out that setWatch does work, but only on Port A. BTN1 is on C13 which is why it wouldn't go. I'll try and fix that this afternoon - it shouldn't be too difficult to sort out.
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.
Ok, I just got a Nucleo and tested this... I've just added
Nucleo.D0/etc
if you want to try it out.It turns out that
setWatch
does work, but only on Port A. BTN1 is on C13 which is why it wouldn't go. I'll try and fix that this afternoon - it shouldn't be too difficult to sort out.