https://github.com/duckthom/led-panel
https://github.com/duckthom/led-panel
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/duckthom/led-panel
- Owner: DuckThom
- Created: 2022-03-07T09:33:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-07T09:34:27.000Z (over 4 years ago)
- Last Synced: 2025-05-21T16:50:48.009Z (about 1 year ago)
- Language: C
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Led Panel
## Data flow
```
[ ... Connection setup ... ]
Client: Wait for signal 0x05
Server: Send ENQ (0x05)
Client: Send matrix line data
Client: Wait for signal 0x06
Server: Add line data to matrix buffer
Server: Send ACK (0x05)
[ ... Repeats until server received data for each matrix line ... ]
Server: Parse matrix data buffer into led matrix object
Server: Push offscreen matrix to led panel
```
## Matrix line format
```
3 bytes per pixel (RGB): \x00\x00\xff for 100% blue
Example data for 5 red pixels in a row:
\xff\x00\x00\xff\x00\x00\xff\x00\x00\xff\x00\x00\xff\x00\x00
```