SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions about processor boards have here!
#247132
I have a couple of ESP32 Thing microcontrollers, and both have a problem with the serial output. Specifically, I get garbled text in the serial monitor despite the correct baud rate being set in the code and the serial monitor.
Code: Select all
void setup(){
  Serial.begin(115200);
  while (!Serial);
  Serial.println("Test");
}

void loop(){}
I found some posts that stated the ESP32 Thing has a 26 MHz crystal, and a fix is to use the IDF tools to set it to that frequency or set it to auto. I performed those steps and tested with the "hello_world" example from the IDF tools, and the output worked. However, if I use the above example, I get garbled text.

I am using the Arduino IDE 2.3.0.

I appreciate any support provided.
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum