You can get the current device with eval(process.env.CONSOLE) - but honestly just a flag to ditch the console reassignment messages would probably be fine?
but honestly just a flag to ditch the console reassignment messages would probably be fine?
Yes. perhaps with some harmless Null device that would just drop the bytes if LoopbackA is not harmless (i.e. buffering the data for LoopbackB, eating memory).
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.
You can get the current device with
eval(process.env.CONSOLE)
- but honestly just a flag to ditch the console reassignment messages would probably be fine?