SerialDevice.fromPort constructor

SerialDevice.fromPort(
  1. SerialPortInterface _port, {
  2. required Duration readInterval,
  3. required BurtLogger logger,
})

Opens a serial connection on the given port.

Implementation

SerialDevice.fromPort(this._port, {required this.readInterval, required this.logger});