Here's the circuit we just built, with a light dependent resistor.
It's been attached to Analogue Pin 0. (Analogue because light isn't a straight 0 or 1, but it has dark, bright and everything in between.) This is the Arduino code so that we can read the resistance depending on light available.
Cool.
No comments:
Post a Comment