Melody
Successfully connected the speakers, added a delay() so the for loop wouldn't replay continuously to have a scratchy sound. I added a potentiometer to create a volume control. Video: https://drive.google.com/file/d/1JVhLtyjsg-Li7--lLT7TrRRsZY23A81u/view?usp=sharing
Playing a musical instrument
My first resistor didn't play nor did the other force resistors played different notes. The original code from the lab did not play continuously - with the help of Sean, instead of using for loops, variables + booleans were used instead and the sound was continous. It is a wiring issue > coding issue.
Motor control
Video: https://drive.google.com/file/d/1iLDZmdP6rxH7btkchJOr4f5i5XMI2Z5s/view?usp=sharing
Project 1 Concept(s)
Sing-along game
The speaker will play 3-4 notes (C, A, B, G) and the player will have to repeat what is played. There are 3 levels. If the player loses before the 3 levels, the LED light will turn red, and if all 3 levels are passed, the LED light will turn green. There can be an additional component with a trap door and a "lose" and "win" sound.
Mock Recorder Instrument
Create an instrument with the same fingerings as a recorder. Or an ocarina!