I got to use a potentiometer, which varies sresistance based on th twisting of knob and, in turn, changes the voltage being read by the analog input pin.
I will read the light value of the room and have an LED turn on if it is dark and turn off if it is bright.
As shown picture,
Using wires, I connected leds with resistors at breadboard.
Comments
Please log in or sign up to comment.