ESP32 UART1 problem

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: ESP32 UART1 problem

Postby WiFive » Tue Apr 30, 2019 11:35 pm

That's fine but remember you don't have to use default pins for uart you can reconfigure to any pin using gpio matrix.

MaiNhan
Posts: 1
Joined: Wed Jun 02, 2021 5:21 am

Re: ESP32 UART1 problem

Postby MaiNhan » Wed Jun 02, 2021 5:25 am

Bacause Pin 9 and 10 (U1Rx and U1Tx) were used for flash chip. To use UART1 in ESP32, You can remap Rx and Tx by using bellow instruction:
Serial1.begin(9600, SERIAL_8N1, 4, 2);
I hope it a little bit help you.!!!

Who is online

Users browsing this forum: Gaston1980 and 57 guests