using ESP32-S3 programming and UART0 question

wowpro7
Posts: 2
Joined: Mon Dec 11, 2023 11:47 pm

using ESP32-S3 programming and UART0 question

Postby wowpro7 » Sat Dec 23, 2023 11:23 pm

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?

Who is online

Users browsing this forum: No registered users and 76 guests