Argh - sorry - I hadn't realised you were on Espruino WiFi. You can do Serial2.setup after WiFi is initialised I think, but yes, coping with the changed baud rate afterwards is a pain. I thought there was a non-persistent way to change it, but I'm afraid I can't find it now.
Thanks for posting up your code for the fix though - that's great!
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.
Argh - sorry - I hadn't realised you were on Espruino WiFi. You can do
Serial2.setup
after WiFi is initialised I think, but yes, coping with the changed baud rate afterwards is a pain. I thought there was a non-persistent way to change it, but I'm afraid I can't find it now.Thanks for posting up your code for the fix though - that's great!