byte[] tempdata = FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 02 80 00 00 82 CD
comPort.Write(tempdata,0,tempdata.Length);
for (int i = 0; i < tempdata.Length; i++) { comPort.Write(tempdata,i,i); }
for (int i = 0; i < tempdata.Length; i++) { comPort.Write(tempdata,i,1); // Here 1 instead i }
for (int i = 0; i < tempdata.Length; i++) { comPort.Write(tempdata, i, 1); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)