19 lines
415 B
C
19 lines
415 B
C
#pragma once
|
|
|
|
enum Brightness {
|
|
Normal,
|
|
Bright,
|
|
};
|
|
|
|
void sendTextToSign(String text, Brightness brightness = Bright) {
|
|
// debugging
|
|
Serial.print("Sending text \"");
|
|
Serial.print(text);
|
|
Serial.println("\"");
|
|
|
|
// TODO: find out how the brightness attribute in the LED sign is encoded in the UART signal
|
|
Serial1.print("f01A\\s");
|
|
Serial1.print(text);
|
|
Serial1.print("\r\r\r");
|
|
}
|