Hi César,
the code in the original post is complete, for a telnet/putty console you just need the 3 lines where the loopbacks are piped. With a try/catch around LoopbackB.setConsole() (commented out in the OP) it works well in v1.99.
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 César,
the code in the original post is complete, for a telnet/putty console you just need the 3 lines where the loopbacks are piped. With a try/catch around LoopbackB.setConsole() (commented out in the OP) it works well in v1.99.