Photocells - BleepLabs/Arduino-Light-And-Sound GitHub Wiki

Photocells

Changes resistance based on how much light is hitting it. More light, lower resistance.
To use it with the Teensy, hook one side of the photocell to the positive power row and the other to the analogRead pin. Also attached to the analog read pin is one side of a 10k - 100k resistor. The other side of the resistor goes to ground.