ESP8266 Developer Zone The Official ESP8266 Forum 2015-02-25T22:00:20+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=183 2015-02-25T22:00:20+08:00 2015-02-25T22:00:20+08:00 https://bbs.espressif.com:443/viewtopic.php?t=183&p=811#p811 <![CDATA[Re: 串口接收信息,有没有更好用的接口?]]>
leeshine wrote:
参考arduino,读一个字节incomingByte = Serial.read();
读多个字节Serial.readBytes(buffer, length)
buffer:用来存储字节(char[]或byte[])的缓冲区
length:读取的字节数(int)



没有问题。

Statistics: Posted by costaud — Wed Feb 25, 2015 10:00 pm


]]>
2015-02-11T14:52:55+08:00 2015-02-11T14:52:55+08:00 https://bbs.espressif.com:443/viewtopic.php?t=183&p=687#p687 <![CDATA[Re: 串口接收信息,有没有更好用的接口?]]> 读多个字节Serial.readBytes(buffer, length)
buffer:用来存储字节(char[]或byte[])的缓冲区
length:读取的字节数(int)

Statistics: Posted by leeshine — Wed Feb 11, 2015 2:52 pm


]]>
2015-02-11T12:09:53+08:00 2015-02-11T12:09:53+08:00 https://bbs.espressif.com:443/viewtopic.php?t=183&p=682#p682 <![CDATA[Re: 串口接收信息,有没有更好用的接口?]]> 请问是什么样的应用需要什么读写接口?

Statistics: Posted by costaud — Wed Feb 11, 2015 12:09 pm


]]>
2015-02-06T14:53:20+08:00 2015-02-06T14:53:20+08:00 https://bbs.espressif.com:443/viewtopic.php?t=183&p=650#p650 <![CDATA[串口接收信息,有没有更好用的接口?]]>

Statistics: Posted by leeshine — Fri Feb 06, 2015 2:53 pm


]]>