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’.