1
0
mirror of https://github.com/mt-mods/led_marquee.git synced 2025-07-03 16:50:42 +02:00

31-color support

This commit is contained in:
Vanessa Dannenberg
2018-08-15 10:45:40 -04:00
parent 54b5ac53ad
commit bb9f8575bc
6 changed files with 55 additions and 47 deletions

View File

@ -31,7 +31,15 @@ The panels also respond to these control messages:
* "off_multi" turns all panels in a lineup off
* "allon_multi" turns on all LEDs of all panels in a lineup.
A byte value of 0 to 7 will change colors (i.e. string.char(0 to 7) ). You can select from red (0), orange, yellow, green, cyan, blue, purple, or magenta (7). The left-most/"master" panel will remember the last color used, and defaults to red.
A byte value of 0 to 30 will change colors (i.e. string.char(0 to 30) ). Color values 0 to 11 are:
Red (0), orange, yellow, lime, green, aqua, cyan, sky blue, blue, violet, magenta, or red-violet (11)
Colors 12 to 23 are the same as 0 to 11, but lower brightness.
Colors 23 - 30 are white, light grey, medium grey, dim grey, light blue, brown, and pink.
The left-most/"master" panel will remember the last color used, and defaults to red.
You can use "get" and "getstr" to read the one character from the connected panel. These messages will not read the other panels in the lineup.