AnimationSetups.ino 482 B

1234567891011121314151617181920212223
  1. void setup_rainbow() {
  2. normal_setup();
  3. animation_var_1 = 4;
  4. }
  5. void normal_setup() {
  6. clear_strip();
  7. animation_step_time = 100;
  8. animation_i = 0;
  9. animation_var_1 = 0;
  10. }
  11. void setup_random1() {
  12. for (int i = 0; i < NUM_LEDS; i++) {
  13. for (int i = 0; i < 8; i++) {
  14. animation_table_1[i][i] = 0;
  15. }
  16. //Start R, Start G, Start B, fR, fG, fB, cycle, how many cycles
  17. }
  18. normal_setup();
  19. animation_var_1 = 10; //How many sections
  20. animation_step_time = 100;
  21. }