Cartoon Imagination with Lights


#1

This was inspired by Star Vs The Forces of Evil !
It starts out with half the lights being yellow (which looks a bit more green tbh) and half of them being red. The yellow lights represent Star Butterfly’s hair and the red represents the headband she wears. She looks like this:

And she shoots out narwhals with her wand. So I made it that when you press the button once, it glows blue while vibrating, to be like a "blast’.

Hhaha it’s sooooo simple but I think it’s fun since it’s like creative in my head :joy: :joy:

void setup() {
// put your setup code here, to run once:

}

Buzzer buzzy;
LED blinky;
Timer ticktock;
Animation anim;

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

//yellow hair
blinky.turn_on_single(SE, YELLOW);
blinky.turn_on_single(SW, YELLOW);
//red headband
blinky.turn_on_single(NE, RED);
blinky.turn_on_single(NW, RED);

}

void button_press(void)
{
//narwhal blast !
buzzy.long_buzz();
anim.breathe_single_color(BLUE);
ticktock.pause(1000);
}


#2

OMG I LOVE IT!!
I just tried it and it looks so good!!!
I love how you used your imagination so I’m going to think that way too! :smile: