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

From London Hackspace Wiki

Added skeleton for other commands, and note about ping response
(Added information on data types)
(Added skeleton for other commands, and note about ping response)
Line 56: Line 56:
|1.0
|1.0
|-
|-
|colspan="2"|Checks connectivity with the board. The board will respond with 0x00 (success)
|colspan="2"|Checks connectivity with the board. The board will respond with 0x00 (success) followed by its two-byte board ID.
|-
!rowspan="2"|03
|'''Query neighbours'''
|1.2?
|-
|colspan="2"|???
|-
!rowspan="2"|0E
|'''Display static test pattern'''
|1.0
|-
|colspan="2"|???
|-
!rowspan="2"|0F
|'''Display animated test pattern'''
|1.0
|-
|colspan="2"|???
|-
!colspan="3" style="background: #ddd"|Simple Display Commands
|-
!rowspan="2"|10
|'''Clear floor'''
|1.0
|-
|colspan="2"|???
|-
!rowspan="2"|11
|'''Write floor'''
|1.0
|-
|colspan="2"|???
|-
!rowspan="2"|18
|'''Clear row'''
|1.0
|-
|colspan="2"|???
|-
!rowspan="2"|19
|'''Write row'''
|1.0
|-
|colspan="2"|???
|-
!colspan="3" style="background: #ddd"|Complex Display Commands
|-
!rowspan="2"|50
|'''Set pixel'''
|1.1
|-
|colspan="2"|???
|-
!rowspan="2"|51
|'''Draw line'''
|1.1
|-
|colspan="2"|???
|-
!rowspan="2"|52
|'''Draw hollow rectangle'''
|1.1
|-
|colspan="2"|???
|-
!rowspan="2"|53
|'''Draw filled rectangle'''
|1.1
|-
|colspan="2"|???
|-
!rowspan="2"|54
|'''Scroll floor'''
|1.1
|-
|colspan="2"|???
|-
!rowspan="2"|55
|'''Scroll rectangle'''
|1.1
|-
|colspan="2"|???
|-
!rowspan="2"|5E
|'''Draw single-colour pattern'''
|1.1
|-
|colspan="2"|???
|-
!rowspan="2"|5F
|'''Draw pattern rect'''
|1.1
|-
|colspan="2"|???
|}
|}