sendMessage method

void sendMessage(
  1. Message message
)

Sends a Message to the appropriate firmware device.

This does nothing if the appropriate device is not connected. Specifically, this is not an error because the Dashboard may be used during testing, when the hardware devices may not be assembled, connected, or functional yet.

Implementation

void sendMessage(Message message) => _sendToSerial(message.wrap());