Thanks! I'll try and change it so the next firmware doesn't automatically default to those :)
Just so you know, if you use Serial1 then when you disconnect USB, Espruino's console will move over to Serial1 automatically and may end up sending extra characters that you didn't intend. It's an idea to stick USB.setConsole(1) in onInit to force the console to stay on USB so you can avoid that and use Serial1 properly regardless of whether the WiFi is connected to USB or not.
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.
Thanks! I'll try and change it so the next firmware doesn't automatically default to those :)
Just so you know, if you use Serial1 then when you disconnect USB, Espruino's console will move over to Serial1 automatically and may end up sending extra characters that you didn't intend. It's an idea to stick
USB.setConsole(1)
inonInit
to force the console to stay on USB so you can avoid that and useSerial1
properly regardless of whether the WiFi is connected to USB or not.