This box is rather simple, seeing as I am a complete beginner to this class/field. The box, which is actually a box I used to hold the mute for my trumpet, hold my circuit board, the battery powering it, and a switch that comes out the back of the box. The switch, when off, clears all animations of the board so it mimics an "off" state. When the switch is on, the board LEDs turn blue and the board plays, softly, the intro to "Megalovania". "Megalovania" is a song by Toby Fox from the popular game Undertale.
To get the proper notes to play on the board, I couldn't just use the "melody" function. That function doesn't have a full range of tone, simply whole notes. There are no accidentals to work with. To get the song to play, I had to code each note, one by one. Each note has its' own line of code, which is why the song cuts off rather early.


Comments