Datasheet

Arduino Code
Simple Demonstration of Use
This sketch will take the analog voltage reading and use that to determine how bright the red LED is. The darker it is,
the brighter the LED will be! Remember that the LED has to be connected to a PWM pin for this to work, I use pin 11 in
this example.
These examples assume you know some basic Arduino programming. If you don't, maybe spend some time reviewing
the basics at the Arduino tutorial? (https://adafru.it/aKU)
© Adafruit Industries https://learn.adafruit.com/photocells Page 13 of 25