RGB LED cube 5x5x5
1.0
Martin Stejskal, Schmidt Dominik
Main Page
Related Pages
Modules
Files
File List
Globals
All
Files
Functions
Variables
Macros
Groups
Pages
SW
PC
anime_maker
generated_animations
anim_4.c
Go to the documentation of this file.
1
10
#include "
anim_4.h
"
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_4[] PROGMEM =
28
{
// Serial stream of data
29
// Command start of animation + value (slowdown factor)
30
cmd_anim_start
+ 4,
31
//Data + other commands (body)
32
// Frame 0
33
// End of animation + option
34
cmd_anim_stop
+ 1
35
};
Generated on Mon Jun 3 2013 21:20:14 for RGB LED cube 5x5x5 by
1.8.4