Somehow, "cb:" on buttons does not work for me. When i run the code example from the tutorial, i get
Uncaught Error: Function "a" not found!
at line 1 col 1
a(this._l,b)
^
in function called from system
I tried 2v14 as well as the bleeding edge build. Funny thing is, about 5% of the time it works as expected, but usually not. I also get this error message when uploading via the Web IDE:
Error parsing JavaScript, but uploading anyway.
SyntaxError: Identifier 'a' has already been declared (1:1920)
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.
Somehow, "cb:" on buttons does not work for me. When i run the code example from the tutorial, i get
I tried 2v14 as well as the bleeding edge build. Funny thing is, about 5% of the time it works as expected, but usually not. I also get this error message when uploading via the Web IDE:
This is the code: