文件名称:c#中串口组件的使用方法总结及上位机制作方法
文件大小:177KB
文件格式:RAR
更新时间:2013-11-08 07:57:46
c#,串口组件
添加SerialPort组件 设置串口属性 串口操作(打开关闭) private void btn_open_Click(object sender, EventArgs e) { if (btn_open.Text == "打开串口") { btn_open.Text = "关闭串口"; serialPort1.Open(); } else { btn_open.Text = "打开串口"; serialPort1.Close(); } }
【文件预览】:
C_中串口组件的使用方法总结及上位机制作方法.doc