예제 #1
0
        public void Disconnect()
        {
            ArduinoCommander.StopSession(this);

            if (_serialPort != null && _serialPort.IsOpen)
            {
                _serialPort.Close();
                _serialPort.Dispose();
            }
        }
예제 #2
0
 public void StopSession()
 {
     ArduinoCommander.StopSession(this);
 }