Input only GPIO as UART RX

tsctrl
Posts: 30
Joined: Tue Dec 08, 2020 1:37 pm

Input only GPIO as UART RX

Postby tsctrl » Sun Jan 24, 2021 11:05 am

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.

tsctrl
Posts: 30
Joined: Tue Dec 08, 2020 1:37 pm

Re: Input only GPIO as UART RX

Postby tsctrl » Tue Jan 26, 2021 1:29 pm

@ESP_Sprite, can help with the example in idf?

Michalpu
Posts: 22
Joined: Sun Jan 24, 2021 1:37 pm

Re: Input only GPIO as UART RX

Postby Michalpu » Tue Jan 26, 2021 8:07 pm

This is a input only pin gpio
Content creator at https://911electronic.com

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

Re: Input only GPIO as UART RX

Postby ESP_Sprite » Wed Jan 27, 2021 12:23 am

See the docs. Just feed in pin 34 for rx and off you go.

tsctrl
Posts: 30
Joined: Tue Dec 08, 2020 1:37 pm

Re: Input only GPIO as UART RX

Postby tsctrl » Wed Jan 27, 2021 12:27 am

Hi Thank you ESP_Sprite!

Who is online

Users browsing this forum: No registered users and 47 guests