Music Player [Bolean and Button]
- Jessi Cruz
- Sep 16, 2019
- 1 min read
https://makecode.microbit.org/_dPqbM0fKkEK1

I made little mistakes here and there with wiring. For example, I placed the green wire from the button to the LEFT of "0" on the pinbit and it took me after I finished coding and troubleshooting for errors that I realized the problem laid in the wiring. But, besides that inconvenience, everything else went nicely. I coded it so the button variable was reading the button inputs and changing it's value accordingly. This change in value activates the speaker and plays a melody. I tried my best to recreate the intro of the Super Mario Theme, but it was weird to have everything play correctly. As long as it plays something at least.
Comments