BurtFirmwareSerial constructor

BurtFirmwareSerial({
  1. required String port,
  2. required BurtLogger logger,
  3. int baudRate = 9600,
})

Creates a firmware device with the given serial port and baud rate.

Implementation

BurtFirmwareSerial({required String port, required this.logger, int baudRate = 9600}) :
  _serial = SerialDevice(
    portName: port,
    readInterval: readInterval,
    logger: logger,
    baudRate: baudRate,
  );