Skip to content

Delay with ESP32-S3 USB HW JTAG CDC if no Serial Monitor is open. #9043

Closed
@SuGlider

Description

@SuGlider

related to Testing ESP-S3-BOX3 GFX/TouchScreen Arduino drivers:

I also just realised that there is an effect with Serial.print() in the ESP-BOX-3 when the GFX demo sketch is run with no open Serial Monitor. This is a sort of delay in every Serial.print() from loop, related to some issue with the USB HW JTAG CDC driver.

In order to avoid it, it is necessary to disable Serial, by commenting out the Serial initialization:

void setup() {
  //Serial.begin(115200);
  //Serial.setDebugOutput(true);
  //while (!Serial) delay(100);

Originally posted by @SuGlider in #8978 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions