Homework #5
- Kelly Kiernan
- Feb 19, 2019
- 1 min read
This one was a little difficult to understand the wiring even though the code is so simple.
I understand the potentiometer needs to have a connection to a pin, 3V, and ground, in order for it to work and control anything. With the last class, we learned how to use it to simply dim an LED light that we used. For this class, we used the photocell and speaker.
I used P0 to the speaker, P1 to the potentiometer (knob) and P2 to the photocell.
Komen