Ok so i have uploaded the script into the puck and changed the buttons onClick function, now when i try to click the advertise button, it is giving me UncaughtSyntaxError.
I have also corrected the code on the disconnect device button as it has a little spelling mistake.
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.
Ok so i have uploaded the script into the puck and changed the buttons onClick function, now when i try to click the advertise button, it is giving me UncaughtSyntaxError.
I have also corrected the code on the disconnect device button as it has a little spelling mistake.
The code looks like this now:
I have included the errors i am getting.
1 Attachment