ESP8266 Developer Zone The Official ESP8266 Forum 2018-04-10T08:41:18+08:00 https://bbs.espressif.com:443/feed.php?f=62&t=8908 2018-04-10T08:41:18+08:00 2018-04-10T08:41:18+08:00 https://bbs.espressif.com:443/viewtopic.php?t=8908&p=20060#p20060 <![CDATA[uart_init ready]]> Statistics: Posted by Nikita — Tue Apr 10, 2018 8:41 am


]]>
2018-01-11T18:04:02+08:00 2018-01-11T18:04:02+08:00 https://bbs.espressif.com:443/viewtopic.php?t=8908&p=19024#p19024 <![CDATA[Re: 加上uart_init();后,无法输出ready。。]]> Statistics: Posted by Her Mary — Thu Jan 11, 2018 6:04 pm


]]>
2018-01-06T11:54:20+08:00 2018-01-06T11:54:20+08:00 https://bbs.espressif.com:443/viewtopic.php?t=8908&p=18956#p18956 <![CDATA[加上uart_init();后,无法输出ready。。]]> {
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的用法。。

Statistics: Posted by 1598025967 — Sat Jan 06, 2018 11:54 am


]]>