Thank you for posting a more legible sample. Allows for easier cut-n-paste
I originally thought I spotted a case typo, but double checking the online reference proved otherwise.
Anyone else able to chime in?
Are lines 11 and 13 actually printing what is shown as a comment or are the comments leftover from the sample?
Do you get the same error when commenting out lines 2 and 6,7,8,9
What is the current version of Espruino?
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.
Thank you for posting a more legible sample. Allows for easier cut-n-paste
I originally thought I spotted a case typo, but double checking the online reference proved otherwise.
Anyone else able to chime in?
Are lines 11 and 13 actually printing what is shown as a comment or are the comments leftover from the sample?
Do you get the same error when commenting out lines 2 and 6,7,8,9
What is the current version of Espruino?