| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A 20 * 10 Pixel LED Matrix, using WS2811 LEDs, an Arduino Nano as driver and an Orange Pi Zero as control.
Run the server: python3 server/driver.py
Run the client: python3 -m client
The serial paths are hardcoded for now. So remember to boot the orange pi with the arduino plugged in, wait a minute and only then plug in the HES controller (it all Just Works™)
The server driver is expecting NUM_BYTES (600) bytes to be written to a TCP socket (port 53777) per frame. Each three bytes represent a LED, and each of those three bytes are the color in standard RGB order. The first LED is the upper left corner, going right, then down, like so:
[ [00 01 02 03 04 05 06 07 08 09], [10 11 12 13 14 15 16 17 18 19] ... ]
For arduino:
[ [09 08 07 06 05 03 03 02 01 00], [10 11 12 13 14 15 16 17 18 19] ... ]
| Back | FazBrowse Home | New Git URL |