Initial commit
This commit is contained in:
commit
32ba413380
7 files changed
+171
No files matched your search
+18
@@ -0,0 +1,18 @@
|
||||
#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");
|
||||
}
|
||||
Reference in new issue
Block a user