Project:USB Disco Dance Floor/v1/firmware: Difference between revisions

From London Hackspace Wiki

Added details on test patterns
(Info about neighbours query call)
(Added details on test patterns)
Line 70: Line 70:
|1.0
|1.0
|-
|-
|colspan="2"|???
|colspan="2"|A static test pattern will be displayed, as selected by the one-byte argument. A list of patterns is given below:
*00 - All white
*01 - All red
*02 - All green
*03 - All yellow
*04 - All blue
*05 - All magenta
*06 - All cyan
*07 - All 50% white
*08 - Checkerboard: (0,0)=red; (0,1)=cyan
*09 - Checkerboard: (0,0)=cyan; (0,1)=red
*0A - Checkerboard: (0,0)=green; (0,1)=magenta
*0B - Checkerboard: (0,0)=magenta; (0,1)=green
*0C - Checkerboard: (0,0)=blue; (0,1)=yellow
*0D - Checkerboard: (0,0)=yellow; (0,1)=blue
*0E - Checkerboard: (0,0)=white; (0,1)=black
*0F - Checkerboard: (0,0)=black; (0,1)=white
*10 - RGB fade, (0,0) = red; (3,0) = green; (0,3) = blue; (3,3) = ?
|-
|-
!rowspan="2"|0F
!rowspan="2"|0F
Line 76: Line 93:
|1.0
|1.0
|-
|-
|colspan="2"|???
|colspan="2"|An animated test pattern will be displayed, as selected by the one-byte argument. A list of patterns is given below:
*00 - clockwise spiral chase (white), starting at (0,0)
*01 - clockwise spiral (white), starting at (0,0); then black spiral once complete
|-
|-
!colspan="3" style="background: #ddd"|Simple Display Commands
!colspan="3" style="background: #ddd"|Simple Display Commands