RGB LED cube 5x5x5  1.0
Martin Stejskal, Schmidt Dominik
 All Files Functions Variables Macros Groups Pages
anim_moje_super_animace.c
Go to the documentation of this file.
1 
11 
12 /* Data format (binary data for framebuffer)
13  * |MSB| |LSB|MSB| |LSB|MSB| |LSB|
14  * +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
15  * | 0 | R | R | R | R | R | G | G | G | G | G | B | B | B | B | B |
16  * +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
17  *
18  * Instruction format (if MSB is 1, then it is possible change some settings)
19  * |MSB| |LSB|MSB| |LSB|MSB| |LSB|
20  * +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
21  * | 1 | C | C | C | C | C | C | C | V | V | V | V | V | V | V | V |
22  * +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
23  * C - command (0~127)
24  * V - value (0~255)
25  *
26  */
27 const uint16_t bin_anim_moje_super_animace[] PROGMEM =
28  { // Serial stream of data
29  // Command start of animation + value (slowdown factor)
30  cmd_anim_start + 1,
31  //Data + other commands (body)