One more question please :-) I don't understand why does the red led stay on with the script above, until I press the BTN or the first timeout times 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.
One more question please :-) I don't understand why does the red led stay on with the script above, until I press the BTN or the first timeout times out?