hekang889988 发表于 2016-3-23 21:04:59

Arduino 101串口发送数据,串口助手接收不到

程序能够下载,但是不知道为么数据不能经过串口发送到电脑?IDE的串口监视器也看了,接收不到数据,波特率9600

Jason_G 发表于 2016-3-24 17:27:36

是不是串口没打开:
Opening and closing the USB Serial port at a baud rate other than 1200bps will not reset the 101. To use the serial monitor, and see what your sketch does from the beginning, you'll need to add few lines of code inside the setup(). This will ensure the Curie module will wait for the serial port to open before executing the sketch:
while (!Serial) ;
可以把程序贴一下!

hekang889988 发表于 2016-3-27 12:43:06

谢谢,已解决,用的是串口1

凌风清羽 发表于 2016-3-27 20:35:49

啥时候我也能拿到一块,等等等~~~~
页: [1]
查看完整版本: Arduino 101串口发送数据,串口助手接收不到