Led Matrix: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
→Protocol: bugfix |
||
Zeile 32: | Zeile 32: | ||
== Protocol == | == Protocol == | ||
48x72 = 3456 bytes pixeldata ranging fom 0 (0x00) to 15 (0x0F) | |||
3456 bytes ranging | |||
each byte represets one pixel with a brightness ranging from 0 to 15 | each byte represets one pixel with a brightness ranging from 0 to 15 | ||
the pixels start at the upper left corner and are numbered as in the selfexplaining example below | the pixels start at the upper left corner and are numbered as in the selfexplaining example below. | ||
All output on is doublebuffered on the fpga so you have to send a 0x80 after the pixeldata to flip | |||
the framebuffers. | |||
<pre> | <pre> | ||
________________________ | ________________________ | ||
| 1 2 3 ... | | 1 2 3 ... 72| | ||
| | |73 50 ... 144| | ||
|. | | |. | | ||
|. | | |. | | ||
| | |... 3456| | ||
|________________________| | |||
</pre> | </pre> | ||