-->
Page 3 of 3

Re: RST as GPIO16

PostPosted: Thu Nov 20, 2014 1:13 pm
by alonewolfx2
rx gpio3 tx gpio1. i am using like this

Code: Select all///set rx and tx for gpio
PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0RXD_U, FUNC_GPIO3);
PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0TXD_U, FUNC_GPIO1);

///rx gpio on
gpio_output_set(BIT3, 0, BIT3, 0);
///rx gpio off
gpio_output_set(0, BIT3, 0, BIT3);



scargill wrote:but which ones are they.. gpio?? and ??

kingfisher wrote:You can reconfigure tx and rx pins as gpio

Re: RST as GPIO16

PostPosted: Fri Nov 21, 2014 12:44 pm
by kingfisher
correction:

see http://g-lab.ca/esp8266ex-gpio-application-programming-interface/
Code: Select all///rx gpio on
gpio_output_set(BIT3, 0, BIT3, 0);
///rx gpio off
gpio_output_set(0, BIT3, BIT3, 0);


///rx gpio unconnected (disabled)
gpio_output_set(0, BIT3, 0, BIT3);