Unable to get data on serial monitor from waveshare esp32-c6-zero module

I tried out BlinkRGB example and it worked well. but when I tried using serial.print(), the program is uploaded without error, but I am unable to see anything on the serial monitor.

I tried using multiple baud rates, I tried by enabling the usb-cdc in the tools. But no use.

Please post your sketch, using code tags when you do

In my experience the easiest way to tidy up the code and add the code tags is as follows
Start by tidying up your code by using Tools/Auto Format in the IDE to make it easier to read. Then use Edit/Copy for Forum and paste what was copied in a new reply. Code tags will have been added to the code to make it easy to read in the forum thus making it easier to provide help.

My code is as follows:

void setup() {
  Serial.begin(115200);
}

void loop() {
  Serial.println("Hello World!");
}

Is this what you're asking sir?

Hi @thrillu-345

Did you upload the sketch again after doing that? Changing the selection in Arduino IDE's Tools > USB CDC On Boot menu only takes effect after you upload a new sketch to the board.

I tried... but no output... :frowning:

Yeah, sorry it's working now... I just restarted the Arduino IDE and it's working.

Thank you!

Congratulations on finding a solution! I'm glad it is working now. Thank you for taking the time to post an update.

Regards,
Per

1 Like

Thanks, USB CDC enabled fixed my issue too on ESP32-C6-Zero!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.