Led Matrix: Unterschied zwischen den Versionen
→Protocol: Small grammar fixes, inverted pyramid style |
|||
Zeile 32: | Zeile 32: | ||
== Protocol == | == Protocol == | ||
72x48 = 3456 octets of pixel data followed by a terminating 0x80 octet. | |||
Each pixel data octet represents one pixel's brightness, ranging from 0 (0x00, off) to 15 (0x0F, brightest). | |||
The pixels start at the upper left corner and are numbered in [http://en.wikipedia.org/wiki/Row-major_order row-major order] (see the diagram below). | |||
All output is double-buffered on the fpga, so you have to send a 0x80 after the pixel data to flip the frame buffers. | |||
<pre> | <pre> | ||
________________________ | ________________________ |