[WinForm 6.20] 02. 데이터 STX-ETX기준으로 데이터 받기
int a = comPort.ReadByte(); real += ((char)a).ToString(); temp = string.Format("{0:x}", a); if (temp.Equals("2")) { temp = ""; while (!temp.Equals("3")) { a = comPort.ReadByte(); temp = string.Format("{0:x}", a); real += ((char)a).ToString(); } if (temp.Equals("3")) { com.ReciveStram(real);//
2011.06.20