BTW, if I try this:
Espruino.Core.Serial.write('ffff\x03echo(0);\nconsole.log("<<"+"<<<"+JSON.stringify('+expressionToExecute+')+">>>"+">>");\n');
I get:
Uncaught ReferenceError: "ffffecho" is not defined at line 1 col 1 ffffecho(0);
Someone processed \x03 without clearing leading characters ffff.
ffff
@nailxx started
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.
BTW, if I try this:
I get:
Someone processed \x03 without clearing leading characters
ffff
.