How to use Serial Port?

linyaqiang
Posts: 8
Joined: Thu Apr 19, 2018 12:28 am

How to use Serial Port?

Postby linyaqiang » Sat Sep 08, 2018 1:38 am

I'm using serial port of Uart0 to communicate with an external device, but it's already default as a system print window. I want to ask if it can be configured as an ordinary serial port to communicate with other devices? Thanks!

chegewara
Posts: 2230
Joined: Wed Jun 14, 2017 9:00 pm

Re: How to use Serial Port?

Postby chegewara » Sat Sep 08, 2018 8:14 pm

Try to change:

Code: Select all

Component config->ESP32-specific->UART for console output
Change it to none or uart1 and you can use uart0 (just guessing).

ESP_Sprite
Posts: 9020
Joined: Thu Nov 26, 2015 4:08 am

Re: How to use Serial Port?

Postby ESP_Sprite » Sun Sep 09, 2018 3:00 am

Moved 'News' -> 'ESP-IDF'

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 192 guests