I'm not sure what you mean about the setTimeouts? I just copied and pasted it into the Web IDE and it seems to work fine.
setTimeout
The warnings about !=0 are just good practice as you can get caught out otherwise. For instance false != 0 is actually false...
!=0
false != 0
false
@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.
I'm not sure what you mean about the
setTimeout
s? I just copied and pasted it into the Web IDE and it seems to work fine.The warnings about
!=0
are just good practice as you can get caught out otherwise. For instancefalse != 0
is actuallyfalse
...