Hi fanoush, thanks for your patience.
So to go back I made the following changes but I stiil get no display on the watch. Just to note the function has changed to Y rather than X.
This is the console output.
Connecting...
Connected
Writing command
Waiting for data
RX> bytearray(b'Y({"Code": "10"})/n')
RX> bytearray(b'Y({"Code": "10"})/n')
Done!
Putting the command back to what is was
command = "Y("+json.dumps(dict)+")/n"
and my app function is now
E.showMessage("Hello Code");
function Y(dict) {
E.showMessage(dict);
}
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.
Hi fanoush, thanks for your patience.
So to go back I made the following changes but I stiil get no display on the watch. Just to note the function has changed to Y rather than X.
This is the console output.
Putting the command back to what is was
and my app function is now