I attach a serial device to the Serial1 on ESP8266.
To retain the connection of the serial device, I put a code of
function onInit() {
Serial1.setConsole();
}
at the begining of the program.
However, data from the serial device can't be obtained.
But, if we connect the ESP8266 using TCP in espruino web IDE, then
the data from the serial device has appeared.
Is there any instruction that can activate the serial device connection ?
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.
Hello..
I attach a serial device to the Serial1 on ESP8266.
To retain the connection of the serial device, I put a code of
at the begining of the program.
However, data from the serial device can't be obtained.
But, if we connect the ESP8266 using TCP in espruino web IDE, then
the data from the serial device has appeared.
Is there any instruction that can activate the serial device connection ?
Regards,
Maman