I use ESP32-S3.
After compiling and uploading the code below, nothing will be printed on the IDE serial monitor.
The speed of the IDE serial monitor is also set to 9600bps.
Hi @greatcrown. If you don't have it already, try selecting Tools > USB CDC On Boot > Enabled from the Arduino IDE menus and then upload the sketch to your ESP32-S3 board again.
After doing that, does the serial communication work as expected?
Do you have 2 USB connectors on your board? The one I have has 2 connectors and the serial monitor only works with the one that is connected to the USB-serial converter chip.
When you have Tools > USB CDC On Boot > Disabled selected from the Arduino IDE menus, calling Serial.println etc. in your sketch will cause the serial communication to be done via that socket's serial port.
When you have Tools > USB CDC On Boot > Enabled selected from the Arduino IDE menus, serial communication will instead be done via the serial port of the USB socket labeled "USB":