摘要: 1:串口初始化 com = new SerialPort("COM3", 9600, Parity.Even, 7, StopBits.One);2:打开关闭串口if (com.IsOpen){com.Close();}com.Open();if (com.IsOpen){ com.Close();} 3:C# ASCII转字符及字符转ASCIIpublic static string Chr(i... 阅读全文
posted @ 2008-12-29 09:20 白沙河 阅读(10112) 评论(8) 推荐(3) 编辑