I am curious about the relationship between Serial1 and console. I still have an issue about getting some leading chars from console.log http://forum.espruino.com/conversations/345448.
Also, with Serial1.on('data' ...) I will only get data from the USB port IF the IDE is connected to port 23.
Nothing comes out when the IDE is disconnected.
Yet when I send from 8266 by console.log(), the IDE needs to be off or the data are collected there rather than going to the USB. Using print() or Serial1.print() does not change things.
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 @Gordon!
I am curious about the relationship between Serial1 and console. I still have an issue about getting some leading chars from console.log http://forum.espruino.com/conversations/345448.
Also, with Serial1.on('data' ...) I will only get data from the USB port IF the IDE is connected to port 23.
Nothing comes out when the IDE is disconnected.
Yet when I send from 8266 by console.log(), the IDE needs to be off or the data are collected there rather than going to the USB. Using print() or Serial1.print() does not change things.
Please elucidate.