user_init(void)
{
char buf[64] = {0};
at_customLinkMax = 5;
at_init();
os_sprintf(buf,"compile time:%s %s",__DATE__,__TIME__);
at_set_custom_info(buf);
at_port_print("\r\nready\r\n");
at_cmd_array_regist(&at_custom_cmd[0], sizeof(at_custom_cmd)/sizeof(at_custom_cmd[0]));
//uart_init(BIT_RATE_115200,BIT_RATE_115200);
}
这是乐鑫官方的例程,我在结尾添加了uart_init();后,串口无法输出ready,屏蔽掉后可以输出ready,找了很多资料都没有说清楚uart的用法。。
加上uart_init();后,无法输出ready。。
-
- Posts: 1
- Joined: Sat Jan 06, 2018 11:50 am
Who is online
Users browsing this forum: No registered users and 7 guests
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.