Hoping someone can help. Basically I want to call a function when I click on my PuckJs. Trying to use setWatch on my Puck.js. Works fine from the https://www.espruino.com/ide/
But when I try and call the setWatch function from a webpage using bluetooth I get errors:
Errors:
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.
Hoping someone can help. Basically I want to call a function when I click on my PuckJs. Trying to use setWatch on my Puck.js. Works fine from the https://www.espruino.com/ide/
But when I try and call the setWatch function from a webpage using bluetooth I get errors:
Errors:
Code is:
Also if I load the code to the device through the webIDE, I cannot see the console.log message in chrome debug tool.s