Anonymous

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

From London Hackspace Wiki
Formatting updates
(Better styles)
(Formatting updates)
Line 10: Line 10:


{| class="wikitable"
{| class="wikitable"
!Command
!width="80"|Command
!Action
!Action
!Data
!width="100"|Min version
|-
|-
!00
!rowspan="2"|00
|'''Reset display'''
|'''Reset display'''
|''None''
|1.0
|-
|-
|
|colspan="2"|Resets the display, initialising all pixels to black.
|colspan="2"|Resets the display, initialising all pixels to black.
|-
|-
!01
!rowspan="2"|01
|'''Identify'''
|'''Identify'''
|<tt>xx yy</tt>
|1.0
|-
|-
|
|colspan="2"|Asks the device to identify itself. The controller sends its version number as two data bytes: major and minor version. The device will respond with a two-byte code containing its major and minor version. <!-- position? neighbours? -->
|colspan="2"|Asks the device to identify itself. The controller sends its version number as two data bytes: major and minor version. The device will respond with a two-byte code containing its major and minor version. <!-- position? neighbours? -->
|-
|-
!11
!rowspan="2"|11
|'''Update floor'''
|'''Update floor'''
|<tt>RR GG BB</tt> ...
|1.0
|-
|-
|
|colspan="2"|Update the entire floor with the given pattern.
|colspan="2"|Update the entire floor with the given pattern.
|}
|}