-->
Page 1 of 1

UART1 and GPIO2

PostPosted: Wed Sep 02, 2015 6:52 am
by supergiox
Hi,
I'm programming a ESP-01 with the Espressif SDK 1.2 and I notice that when I use UART functions, the GPIO2 is enabled.
I know that there are two UART interfaces, UART0 and UART1 and that the TX of second one is tied to the GPIO2.

Is there a way to disable UART1 so I can use both UART0 (for logging and debug) and GPIO2 (to control some component) indipendently?
Any other solution will be appreciated.

Thanks in advice

Re: UART1 and GPIO2

PostPosted: Wed Sep 09, 2015 5:40 am
by eriksl
Set the pin function to "gpio".