Try LoopbackB.write(command()); - LoopbackA goes to B and vice-versa. The console's reading and writing on A, so you need to do everything else on B.
LoopbackB.write(command());
@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.
Try
LoopbackB.write(command());
- LoopbackA goes to B and vice-versa. The console's reading and writing on A, so you need to do everything else on B.