Closed
Description
Hardware
Hardware: ESP-12E
Core Version: 2.3.0
Description
When I run a sketch at 80Mhz all is OK 160Mhz brings in new issues.
I send out about 3000 bytes of data to serial with:
ptr = s;
while (*ptr) {
Serial.write(*ptr++);
// just in case its very long
yield();
}
then I do with no delay
Serial.flush();
//delay(10);
Serial.swap();
I end up with an odd character on the serial port 0xEA when I expected a 0x0A (I guess we call it the default serial port on pins 1 and 3)
if I add a delay(10) after the flush all is OK.... its like the flush does not get to complete.
RichardS
Settings in IDE
Module: Generic ESP8266 Module
Flash Size: 4MB/1MB
CPU Frequency: 160Mhz
Flash Mode: dio
Flash Frequency: 40Mhz
Upload Using: SERIAL
Reset Method: nodemcu