Zum Inhalt springen

Led Matrix: Unterschied zwischen den Versionen

Overflo (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Wizard23 (Diskussion | Beiträge)
Protocol: bugfix
Zeile 32: Zeile 32:


== Protocol ==
== Protocol ==
 
  48x72 = 3456 bytes pixeldata ranging fom 0 (0x00) to 15  (0x0F)
 
  3456 bytes ranging vrom 0 (0x00) to 15  (0x0F)
  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.
after each fram 1 flipbyte (0x80) is sent that  sets framebuffer and displays the data sent before.
  All output on is doublebuffered on the fpga so you have to send a 0x80 after the pixeldata to flip
  all output on is doublebuffered on the fpga.
the framebuffers.


<pre>
<pre>
  ________________________
  ________________________
| 1  2  3 .......      48|
| 1  2  3 ...         72|
|49 50 .........     96|   
|73 50 ...           144|   
|.                      |
|.                      |
|.                      |
|.                      |
|3408.....          3456|
|...                 3456|
_________________________
|________________________|
</pre>
</pre>