Пример #1
0
 public static ArduConn InitConnection(ArduOptions options)
 {
     return(_instance ?? (_instance = new ArduConn(options)));
 }
Пример #2
0
 public static void SetOption(ArduOptions arduOptions)
 {
     _options = arduOptions.Options;
 }
Пример #3
0
 private ArduConn(ArduOptions arduOptions)
 {
     _options    = arduOptions.Options;
     _serialPort = GetSerialPort();
 }