Flashing Lights!


#1

This is the longest program I made so far! This is a bunch of flashing lights looping over and over again. I am SO excited to see what you think.

void setup() {
}

void loop() {
LED led;
led.turn_on_single(SW, CYAN);
led.turn_on_all(GREEN);
led.flash_single(SE, BLUE, 1000);
led.turn_off_all();
Animation animation;
animation.rainbows();
animation.jewelbots_logo();
animation.breathe_single_color(GREEN);
led.turn_off_all();
led.turn_on_single(SW, WHITE);
led.turn_on_all(MAGENTA);
led.turn_off_all()
;animation.rainbows();
led.turn_on_single(SW, CYAN);
led.turn_on_all(YELLOW);
led.flash_single(SE, RED, 1000);
led.turn_off_all();
animation.rainbows();
animation.jewelbots_logo();
animation.breathe_single_color(CYAN);
led.turn_off_all();
led.turn_on_single(SW, WHITE);
led.turn_on_all(MAGENTA);
led.turn_off_all()
;animation.rainbows();
led.turn_on_single(SW, CYAN);
led.turn_on_all(GREEN);
led.flash_single(SE, RED, 1000);
led.turn_off_all();
animation.rainbows();
animation.jewelbots_logo();
animation.breathe_single_color(RED);
led.turn_off_all();
led.turn_on_single(SW, WHITE);
led.turn_on_all(YELLOW);
led.turn_off_all()
;}


#2

This looks really cool! I will definitely try it when I get a chance! :wink:


#3

I love this! Trying now.