My Week 2 Submission


#1

Hey All,

I didn’t build this today, but since the theme is music I figured i HAD to submit my musically. MY musical.ly:

The code:
void button_press(void){
Buzzer buzz;
LED led;
Timer timer;
Animation animation;

led.turn_on_all(RED);
buzz.short_buzz();
timer.pause(1900); 
led.turn_off_all();
timer.pause(1000);

led.turn_on_all(BLUE);
buzz.short_buzz();
timer.pause(1600); 
led.turn_off_all();
timer.pause(1000);

led.turn_on_all(GREEN);
buzz.short_buzz();
timer.pause(1600); 
led.turn_off_all();
timer.pause(1000);

led.turn_on_all(MAGENTA);
buzz.short_buzz();
timer.pause(1600); 
led.turn_off_all();
timer.pause(1000);

animation.jewelbots_logo();
led.turn_off_all();
timer.pause(400); 
animation.jewelbots_logo();
led.turn_off_all();
timer.pause(300);

animation.rainbows();
animation.rainbows();
animation.rainbows();
animation.rainbows();
animation.rainbows();

led.turn_off_all();
}

void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}

#2

SO COOL! Love it!