阅读背景:

通过串口从Ruby向Arduino写入字节

来源:互联网 

I'm trying to send an integer over the serial port to my Ardunio. The chip is then going to display the number in binary on the LED's. However I'm having lots of trouble trying to send the data as a byte over the serial port, as far as I can debug the following code sends it as the ASC char values.I'm trying to send an integer over the serial p




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: