TSL230R Light to Frequency Converter
This thing is one of the most acurate light sensors I've seen. You configure it by making pins 1 and 2 high or low to control it's sensitivity and make pins 7 and 8 high or low for the divider to make it pretty much able to speak to any microprocessor.
0 0 off
0 1 x1
1 0 x10
1 1 x100
0 0 1
0 1 2
1 0 10
1 1 100
You can just ground all these pins you plan on having off. Also, pin 3 is it's "output enable" pin that can just be grounded.
Supply 3.3V - 5V to pin5 , and your digital output is pin6. On the 28X1 digital input, you can just do a count on a pin in a specified type slot and drop it in a word variable.
Very acurate device, but maybee too many pins to worry about.