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