日期:2014-05-18  浏览次数:21541 次

怎么用C#清除串口通信发送缓存区?
怎么用C#清除串口通信发送缓存区?

------解决方案--------------------
sp = new SerialPort();
sp.DiscardInBuffer();//清空输入缓存