serial property

SerialDevice serial
final

The device that reads from the serial port.

Implementation

final serial = SerialDevice(
  portName: imuPort,
  readInterval: const Duration(milliseconds: 10),
  logger: logger,
);