Arduino Photoresistor
From wikiluntti
Introduction
Simple code to use photoresistor or photocell or light-dependent resistor LDR.
The resistance of a photoresistor decreases when it is hit by light, or it lets electricity flow through it if light is hitting it.
Need to use a voltage divider.
Code
- 10kohm