if (!(comPort.IsOpen == true)) comPort.Open(); //convert the message to byte array byte[] newMsg = StingToAscii(msg); //send the message to the port comPort.Write(newMsg, 0, newMsg.Length);
//if (!(comPort.IsOpen == true)) comPort.Open();
static
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)