//uart.write(`\x03\x10transfer('${_cmd}')\n`); uart.write("\x03\x10transfer('"+_cmd+"')\n");
Both of those are adding extra quotes, just in different ways?
What about:
uart.write(`\x03\x10transfer(${_cmd})\n`);
@Gordon 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.
Both of those are adding extra quotes, just in different ways?
What about: