RGB LED cube 5x5x5
1.0
Martin Stejskal, Schmidt Dominik
|
Additional settings for anime maker. More...
Go to the source code of this file.
Macros | |
#define | name_len 83 |
Maximal name length. | |
#define | path_len 25 |
Maximal name for animation folder (usually generated_animations) More... | |
#define | generated_anime_folder "generated_animations" |
#define | default_text_len 81 |
Default length for input text/variable. | |
#define | no_error 0 |
Return code when no error. | |
#define | incorrect_input 1 |
Return code when error on input. | |
#define | screen_lines_max 20 |
Value for function jump_out_to_next_screen. More... | |
#define | frame_period 0.040 |
Time period between two frames (in "full" speed od LED cube) More... | |
#define | max_size_anim_stream 128000 |
Maximal length of animation (bytes) | |
#define | max_commands_per_frame 24 |
Maximum commands per 1 frame (3D frame) | |
#define | max_command_length 30 |
Maximum length input command. | |
#define | red_shift 2 |
Binary shift for colors. More... | |
#define | green_shift 1 |
#define | blue_shift 0 |
#define | pressed_button 126 |
Additional settings for anime maker.
Definition in file settings.h.
#define frame_period 0.040 |
Time period between two frames (in "full" speed od LED cube)
This value is for virtual timer. It should be same as in firmware on LED
cube. However, this time is just for user information
Definition at line 66 of file settings.h.
#define path_len 25 |
Maximal name for animation folder (usually generated_animations)
p_animation_name |
Definition at line 23 of file settings.h.
#define red_shift 2 |
#define screen_lines_max 20 |
Value for function jump_out_to_next_screen.
Before new "image" is printed, function jump_out_to_next_screen print
a lots of line feed characters, so it appear, that there is "clean"
screen. And this constant define how many times is line feed printed.
If there is number 1, then 10 times is printed line feed. If there is 20
then line feed is printed 200 times.
Definition at line 57 of file settings.h.