You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// SerialBeginTwice test by Jean-Marc Zingg
//
// Purpose: test issue with ESP32 compiled for ESP32 Dev Module
void setup()
{
Serial.begin(115200);
delay(100);
Serial.println("going to call Serial.begin(115200); a second time. Should tell success ...");
delay(100);
Serial.begin(115200);
delay(100);
Serial.println("... success, returned from second call to Serial.begin(115200); Bye and out.");
delay(100);
}
void loop() {}
I verified this on a ESP32 Dev Module clone, on a Wemos LOLIN32 Lite, and on the Waveshare e-Paper ESP32 Driver Board.
The GxEPD2 examples call Serial.begin(115200) in setup() to Serial.print("setup"), and again in display.init(115200).