The Winner of Week One Music!


#1

Congrats, Kora! Amazing program!
My Code for Week 2; music
Look What I Made!
Jan 23
1 / 6
Jan 23
3d ago

CloudjumperAmbassadors
I tried to do the first part of “Twinkle, Twinkle little star” but no matter what I tried it arduino wouldn’t compile fast enough to upload it to the jewelbot before it timed out, so I did not get to test it but I hope that it works properly so here it is:

Timer timer;
LED led;
Animation animate;
Buzzer buzz;
void button_press(void) {
timer.pause(1000);
animate.breathe_single_color(WHITE);
timer.pause(800);
animate.breathe_single_color(WHITE);
timer.pause(800);
buzz.short_buzz();
animate.breathe_single_color(WHITE);
timer.pause(500);
buzz.short_buzz();
animate.breathe_single_color(WHITE);
timer.pause(500);
buzz.short_buzz();
animate.breathe_single_color(WHITE);
timer.pause(500);
buzz.short_buzz();
animate.breathe_single_color(WHITE);
timer.pause(500);
buzz.short_buzz();
animate.breathe_single_color(WHITE);
timer.pause(500);
buzz.short_buzz();
animate.breathe_single_color(WHITE);
timer.pause(500);
buzz.long_buzz();
animate.breathe_single_color(WHITE);
timer.pause(1000);
buzz.short_buzz();
animate.breathe_single_color(WHITE);
timer.pause(500);
buzz.short_buzz();
animate.breathe_single_color(WHITE);
timer.pause(500);
buzz.short_buzz();
animate.breathe_single_color(WHITE);
timer.pause(500);
buzz.short_buzz();
animate.breathe_single_color(WHITE);
timer.pause(500);
buzz.short_buzz();
animate.breathe_single_color(WHITE);
timer.pause(500);
buzz.short_buzz();
animate.breathe_single_color(WHITE);
timer.pause(500);
buzz.extra_long_buzz();
animate.breathe_single_color(WHITE);
timer.pause(500);
led.flash_all(CYAN, 500);
timer.pause(1000);
animate.jewelbots_logo();


I made a heartbeat program!
#2

Me again? Thank you!!!


#3

What do you want the theme to be?


#4

Maybe something like fruit? Or maybe disco?