Page 1 of 1

using ESP32-S3 programming and UART0 question

Posted: Sat Dec 23, 2023 11:23 pm
by wowpro7
hello,
meanwhile i am waiting for my costume board base on esp32-s3-mini to arrive i am writing a code in arduino ide for it and i came across a doubt in my design.
i am using USB(gpio19-20) for programming and i connected uart0(gpio 39-40) to use a uart with device that works on uart.

my question is, do i configure USB to use Serial.print() for debug and UART0 to communication with the device with Serial0.print()?

because when choosing board: esp32-s3-usb-otg i get this error:

Code: Select all

error: 'Serial0' was not declared in this scope
   Serial0.begin(9600);
am i doing something wrong?