The voltage range/swing here is gonna be miniscule, so you're gonna need an amp of some sorts, something like this prior to your ADC pin...
http://www.eleccircuit.com/using-led-as-a-light-sensor/
the output of that will be a varying DC level depending on the amount of light hitting the led, which you can then feed to a pic pin & use any old basic ADC reading type code from here.







Bookmarks