I'm new to micro-controllers. I've got an ESP32-S3-DevKitC-1 and I'm trying to do a simple hello world with the Serial. I'm using the Arduino IDE for flashing and serial monitoring. My code is:
/**
* As simple as it gets, right? Setup the Serial, wait on it. The periodically print during the loop.
*/
void setup() {
Serial.begin(9600); // Initialize serial communications with the PC
while (!Serial);
}
void loop() {
Serial.println("Hello World");
delay(1000);
}
I've tried various baud rates. I've also tried a few different configurations for flashing-- this includes flashing over the UART port with upload mode 'UART0/Hardware CDC' and 'USB-OTG CDC (TinyUSB)'. I'm basically at guess and check right now and am looking for some tips or resources to understand the ports. My serial always shows gibberish. I've even tried miniterm like this:
pyserial-miniterm /dev/cu.usbserial-1410 9600