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.
© Espruino, powered by microcosm.
Report a problem