Assignment 5: Musical Instrument
- Steven Gonzalez
- Sep 24, 2019
- 1 min read
For this project I basically used part of the code from assignment 4 to change the notes and thats the same except I took out the extra button. All I added was the photo lens to change the tempo and the blue thing that can be turned and has three pins to change the beat. So how you use this "musical instrument" is use button A to increase the note to have a higher pitch and button B to decrease the note. Then use the photo lens to change the tempo so I used a flashlight and shined it on the photo lens and that made the note played longer. Then you can use the blue turning thing to increase the beat. And there are two leds that light when a button is pressed or both light up when A and B are pressed and resets to the starting note.
https://makecode.microbit.org/_8VmiVo5LeJqX
Comments