How to set Serial Port speed at the Hello_World example of ESP-IDF

chjchoi
Posts: 3
Joined: Tue Dec 05, 2023 8:20 am

How to set Serial Port speed at the Hello_World example of ESP-IDF

Postby chjchoi » Tue Dec 05, 2023 8:29 am

I am a newbie to ESP-IDF.
In the Arduino environment, the serial port speed can be determined in the setup function.
In the ESP-IDF environment, the Hello_world example uses printf() function directly. Is it possible to change the speed in hello_world_main.c?

chjchoi
Posts: 3
Joined: Tue Dec 05, 2023 8:20 am

Re: How to set Serial Port speed at the Hello_World example of ESP-IDF

Postby chjchoi » Tue Dec 05, 2023 11:12 pm

I'm using TTGO ESP32 LoRa and
I have found the initial message from <ESP-IDF Monitor Device> Click that detected CONFIG_XTAL is 26MHz but set as 40MHz.
So I have changed the Main XTAL frequency to 26MHz then Monitor shows the correct fonts.
Image

Who is online

Users browsing this forum: Majestic-12 [Bot] and 86 guests