setLEDs method

Future<void> setLEDs(
  1. LEDPattern pattern
)

Implementation

Future<void> setLEDs(LEDPattern pattern) async {
  Future<void> ack = getAckFuture();
  await _send(Uint8List.fromList([0x0A, 0x08, ...pattern.pattern]));
  await ack;
}