RIN67630:
If you just need that, try to connect a plain LED directly to an analog input, without anything else.LEDs are reversible, they generate up to 1,5V in plain sun, depending on model/color.
Interesting. Are there specs anywhere available on how well each color works in that regard?