| 1234567891011121314151617181920212223 |
- void setup_rainbow() {
- normal_setup();
- animation_var_1 = 4;
- }
- void normal_setup() {
- clear_strip();
- animation_step_time = 100;
- animation_i = 0;
- animation_var_1 = 0;
- }
- void setup_random1() {
- for (int i = 0; i < NUM_LEDS; i++) {
- for (int i = 0; i < 8; i++) {
- animation_table_1[i][i] = 0;
- }
- //Start R, Start G, Start B, fR, fG, fB, cycle, how many cycles
- }
- normal_setup();
- animation_var_1 = 10; //How many sections
- animation_step_time = 100;
- }
|