Arduino sketch for Adafruit's Circuit Playground Classic (ATmega32U4)
Programmed with 4 animations:
-
Left switch side, left button - plays Happy Birthday
-
Left switch side, right button - lights up purple. In dim lighting, becomes brighter.
To switch colors, press right button while holding any of the capacitive touch sensors. (It's a bit finicky: if it doesn't change right away, keep holding and pressing the button.) -
Right switch side, left button - accelerometer animation
-
Right switch side, right button - lights react to sounds
Demo video: https://www.youtube.com/watch?v=VGhraGdZsV4&t=9s