What's the 'inverse' of console.log or print on the USB? #6376
Replies: 1 comment
-
Posted at 2020-04-06 by @gfwilliams
Posted at 2020-04-08 by user106712 Thanks @gfwilliams! 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. Posted at 2020-04-08 by Robin Wed 2020.04.08
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2020-04-05 by user106712
The 8266 is connected to a desktop on the USB port.
console.log or print would send a string out to the USB.
What is the default function to read from the same port, with data coming from the desktop?
Beta Was this translation helpful? Give feedback.
All reactions