數(shù)據(jù)是用Comm_DataReceived接收的:private void Comm_DataReceived(object sender, SerialDataReceivedEventArgs e){}比如說(shuō):第1秒收到數(shù)據(jù)a,b,c,第2秒收到數(shù)據(jù)d,e,f,第3秒收到數(shù)據(jù)g,h,i。第1秒我需要數(shù)據(jù)a,第2秒我需要數(shù)據(jù)d,第3秒我需要數(shù)據(jù)g,那么我怎么實(shí)時(shí)篩選a, d,g?
C#怎么篩選串口接收到的數(shù)據(jù)?
慕蓋茨4494581
2018-11-08 17:05:56