摘要:
C#串口调试助手实现,使用Windows Forms和.NET的SerialPort类。这个应用程序允许用户配置串口参数、发送和接收数据,并支持十六进制显示。 using System; using System.IO.Ports; using System.Text; using System.W 阅读全文
摘要:
一、基础通信配置 1. 串口参数设置 using System.IO.Ports; public class PlcSerial { private SerialPort _serialPort; public PlcSerial(string portName, int baudRate = 96 阅读全文