C# SerialPort 串口读写

时间:2021-09-23 08:57:03
【文件属性】:
文件名称:C# SerialPort 串口读写
文件大小:103KB
文件格式:RAR
更新时间:2021-09-23 08:57:03
SerialPort 实现串口事件DataReceived接收数据 后台开启一个监控线程来监控是否数据接收完成 定义3个事件,用来通知数据接收完成、数据发送完成、每次接收数据。
【文件预览】:
SerialPortTest
----.gitignore(2KB)
----.git()
--------info()
--------objects()
--------HEAD(23B)
--------description(73B)
--------ms-persist.xml(1KB)
--------config(643B)
--------index(192B)
--------refs()
--------hooks()
--------logs()
----SerialPortTest()
--------App.xaml(325B)
--------obj()
--------bin()
--------SerialPortListener.cs(13KB)
--------Window1.xaml.cs(3KB)
--------App.xaml.cs(341B)
--------SerialPortTest.csproj(5KB)
--------MainWindow.xaml(2KB)
--------SerialPortEvents.cs(668B)
--------App.config(187B)
--------Window1.xaml(2KB)
--------Properties()
--------MainWindow.xaml.cs(3KB)
----SerialPortTest.v12.suo(107KB)
----SerialPortTest.sln(1011B)
----.gitattributes(3KB)

网友评论