public AmpCtl(string port) { m_sio = new SerialIO(port, 9600, SerialIO.StopBits.One, SerialIO.Parity.None); if (m_sio.Open() == false) { throw new Exception("Failed to open serial port"); } ampOn(); }
public Tuner(string port, PostMeterDataCallback callback) { m_sio = new SerialIO(port, 38400, SerialIO.StopBits.One, SerialIO.Parity.None); MeterCallback = callback; }