So, then, if I read BTN instead of using a.state in the callback it should work always... right?
Yes, that's correct.
I'll answer the red LED thing in your other post on that topic: http://forum.espruino.com/conversations/326517/#comment14452282
I'll answer the red LED thing in your other post on that topic
Got it, thanks.
@Georg 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.
Yes, that's correct.
I'll answer the red LED thing in your other post on that topic: http://forum.espruino.com/conversations/326517/#comment14452282