Some informations on how the leds work..
and this is good one too http://www.kpsec.freeuk.com/components/led.htm