Here is a picture of the code that is going to be used for the speaker. Because sound is a wave, it can be simulated by alternating between turning a speaker on and off. A longer pause between the alternation will result in a lower sound and vice versa.
No comments:
Post a Comment