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.
gledel
100 projects • 115 followers
Looking back on my childhood, I was happy when I was making something and I was proud of myself.
"Making is instinct!"
Comments