测试数据文件![](https://s1.51cto.com/images/blog/201901/22/826dc60b0f83aeac4aa5047ca558f8fb.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_Z
分类:
其他好文 时间:
2019-01-22 11:50:53
阅读次数:
256
以下是常用的串口通信的封装,主要调用了System.IO.Ports里面的方法。 串口接收字符串或者字节数组时,根据在一定时间内是否接收到关键字符串判断串口接收完成。 1 public class SerialPortOperation 2 { 3 SerialPort serialPort = n ...
分类:
其他好文 时间:
2018-04-24 18:57:41
阅读次数:
175