摘要: C# 的串口通信,是采用serialPort控件,下面是对serialPort控件(也是串口通信必备信息)的配置如下代码:View Code 1 serialPort1.PortName = commcomboBox1.Text;2 serialPort1.BaudRate = int.Parse(baudcomboBox2.Text);3 serialPort1.Parity = (Parity)Enum.Parse(typeof(Parity), efficacycomboBox3.Text);4 serialPort1.DataBits = int.Parse(databitcomboB 阅读全文
posted @ 2013-01-09 11:42 guolebin7 阅读(5605) 评论(0) 推荐(0) 编辑