You are reading a single comment by @Nicktonious and its replies. Click here to read the full conversation.
  • Espruino has something called Loopback. If you do LoopbackA.setConsole() anything that gets printed (including exceptions/etc) appears in a LoopbackB.on('data', ...) event, and the same the other way.

    That could potentially be a good solution, although it won't work if you're printing huge amounts of data. For up to ~1000 bytes at once it should be fine though

  • Hello again! That was a very helpful advice, but now I'm struggling with such a problem - obviously after LoopbackA.setConsole() I lose opportunity to prompt commands into IDE console and it is inacceptable accordint to my plans. What could You advise?

    P.S looks like I already fixed it by piping default console (USB in my case) with LoopbackB.

About

Avatar for Nicktonious @Nicktonious started