HI 乐鑫 :
怎么配置把U0RXD和U0TXD当作GPIO口使用
用 PIN_FUNC_SELECT和gpio_output_set配置没有效果
THS
U0RXD和U0TXD当作GPIO口使用
Re: U0RXD和U0TXD当作GPIO口使用
Postby ESP_Faye » Tue Apr 26, 2016 10:59 am
您好,
请参考如下示例:
感谢您对 ESP8266 的关注!
请参考如下示例:
Code: Select all
PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0RXD_U,FUNC_GPIO3);
PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0TXD_U,FUNC_GPIO1);
感谢您对 ESP8266 的关注!
Who is online
Users browsing this forum: No registered users and 1 guest
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.