Difference between revisions of "RGB Light Show (Wired/Wireless)"
From Just in Time
m |
|||
Line 24: | Line 24: | ||
|} | |} | ||
[[Category:AVR]] | [[Category:AVR]] | ||
+ | ==Schematic & Board== | ||
+ | [[File:ledspot_schematic.png|752px]][[File:ledspot_board.png|480px]] |
Revision as of 20:21, 6 November 2012
This page will contain a description of the wireless RGB spot controller. For now there's just the one section that describes the command bytes.
Command bytes
In general, the most significant 4 bits describe the command (room for 16 commands), the lower 2 bits may contain a spot number, depending on the command. Arguments in <angle brackets> are encoded in the lower 2 bits of the command byte.
value | meaning | arguments | comments |
---|---|---|---|
0x90 | wait_for_fader | <fader> | halts processing further commands until the given fader has finished |
0xA0 | fade | <spot> time red green blue | lets the spot fade from its current color to the given one |
0xB0 | set_initial | <spot> red green blue | sets the initial (switch-on) values for a spot |
0xC0 | hold | none | stops all faders |
0xD0 | resume | none | resumes all faders |
0xE0 | set | <spot> red green blue | sets the color for the given spot |
0xF0 | address | new addres | sets the device address of this controller, if the address button is pressend simultaneously |