Page 1 of 1

Input only GPIO as UART RX

Posted: Sun Jan 24, 2021 11:05 am
by tsctrl
Hi all,

I would like to request help on how to instantiate or change GPIO input only pin such as GPIO34 as RX similar as when using RX pin on GPIO3 (U0RXD).

Is there anyone that has done this before? Example code are much appreciated.

Thank you.

Re: Input only GPIO as UART RX

Posted: Tue Jan 26, 2021 1:29 pm
by tsctrl
@ESP_Sprite, can help with the example in idf?

Re: Input only GPIO as UART RX

Posted: Tue Jan 26, 2021 8:07 pm
by Michalpu
This is a input only pin gpio

Re: Input only GPIO as UART RX

Posted: Wed Jan 27, 2021 12:23 am
by ESP_Sprite
See the docs. Just feed in pin 34 for rx and off you go.

Re: Input only GPIO as UART RX

Posted: Wed Jan 27, 2021 12:27 am
by tsctrl
Hi Thank you ESP_Sprite!