Some caution is needed when using setConsole if you save the program and do the onInit().
Be sure you have a working method to restore the console to the USB ( a pushbutton, a control-C, or a menu option).
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.
Some caution is needed when using setConsole if you save the program and do the onInit().
Be sure you have a working method to restore the console to the USB ( a pushbutton, a control-C, or a menu option).