Did You Hear The Sound Of My New Speaker
- syrai15yaw
- Sep 17, 2019
- 1 min read
Since last time we have learned how to implement a button onto my circuit board and in my code so that if the button is pressed it would turn on a light. But in last class we learned something different in that class we actually out together a speaker into are circuit board we had to two more jump wires one went to ground and the other went to 3V but we also got two alligator clips so that it could attach to these two new jumper wires so that we had a positive and negative to put on the speaker so that it would work. Then in the code we had went in a different section for making or speaker work. We went to the section called music and applied it to the code so that when we press the button that we had on our circuit board we would play a tone or a note of music forever until we press the button to stop the music from playing.
Comments