Obviously I can use USB.setConsole(true) instead, but what if I want to set the console to null, which is in the documentation as
E.setConsole(null).
?
(Incidentally, it took me a while to figure out that since my ESP8266 is on Serial1 my Pico's internet connection stopped working whenever I removed the USB connection, because (I assume) the console switched automatically to Serial1.)
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.
Trying to use E.setConsole() on the Pico v2.04
I get:
Obviously I can use USB.setConsole(true) instead, but what if I want to set the console to null, which is in the documentation as
?
(Incidentally, it took me a while to figure out that since my ESP8266 is on Serial1 my Pico's internet connection stopped working whenever I removed the USB connection, because (I assume) the console switched automatically to Serial1.)