Example #1
0
 private void SerialSend(SerialConnection conn, string command)
 {
     try{
         conn.WriteLine(command);
     } catch (System.NullReferenceException) {
         MessageBox.Show("Serial connection not established");
     }
 }
Example #2
0
 public void SendCommand(string command)
 {
     Connection.WriteLine(command);
 }