Lab: Tone

Analog Input : Potentiometer
Digital Output: Tone



While doing the “tone” lab this week, I encountered certain problems, not with the basic circuit and code displayed above, but when I  tried the more complex task in the lab to make music using an array of pitches. The main thing I could not work out from reading the lab is how to get the ‘pitches.h’ file to work. I am mostly confused about the difference between a library and an external file such as ‘pitches.h’.

Screen Shot 2015-09-29 at 4.48.28 AM

Leave a Reply

Your email address will not be published. Required fields are marked *