Project:USB Disco Dance Floor/v1/firmware

From London Hackspace Wiki
< Project:USB Disco Dance Floor‎ | v1
Revision as of 13:33, 4 April 2011 by Dmi (talk | contribs) (Formatting updates)
Jump to navigation Jump to search
USB Disco Dance Floor v1 Firmware
Created 2011-03-31
Members DMI
Project Status Prototyping


Introduction

The firmware will be responsible for listening for serial commands, and then acting upon them. This will primarily involve changing the display.

Commands

Commands start with a one-byte identifier, followed by zero or more data bytes. The number of data bytes is command-specific. The device should not output any data unless specified below.

Command Action Min version
00 Reset display 1.0
Resets the display, initialising all pixels to black.
01 Identify 1.0
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.
11 Update floor 1.0
Update the entire floor with the given pattern.