The issue seems to be either LoopbackA.setConsole(); or LoopbackB.write(command());
The function we wrote works when testing using the usb console LoopbackA.write("Hello");
Im going to try and use the eval function and see if it makes a difference.
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.
The issue seems to be either
LoopbackA.setConsole();
orLoopbackB.write(command());
The function we wrote works when testing using the usb console
LoopbackA.write("Hello");
Im going to try and use the eval function and see if it makes a difference.