@Ducky thanks! I just edited your post above to change var interval=setInterval to interval=setInterval though - as using var would create a local variable rather than actually assigning to the global interval.
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.
@Ducky thanks! I just edited your post above to change
var interval=setInterval
tointerval=setInterval
though - as usingvar
would create a local variable rather than actually assigning to the globalinterval
.