Photoresistor,also called photocell, is a light sensor. Its resistor changes with light.
This project will use photoresistor to detect light and turn on/off an LED light.
Download photoresistor.ino sketch and load it into Arduino.
DownLoad Url osoyoo.com