<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by yzingerr:
what does a resistor do? How does it help or ot help? <HR></BLOCKQUOTE>
Normally, a resistor is used to stop the LED from releasing it's built-in supply of smoke.
Once all the smoke gets used up, the LED quits working.
The Pelican L1, the Photon, and other lights that use tiny, tiny batteries rely on the battery's own internal resistance to limit LED current to some level below the LED's point of destruction. These smaller batteries are also not normally capable of generating high currents, usually not being able to supply much more than 100mA through the few ohms worth of LED connected to them.
Try connecting a red LED to 3 or even 2 "C" or "D" cells, and watch what happens. All of the smoke inside the LED gets away, your room begins to stink of something awful, and the LED turns dark.
(The LED burns out, sometimes going out with a bang and/or a puff of foul-smelling smoke).
This is because "C" and "D" cells have a lower internal resistance and higher current generating capacity, and under some conditions can send several amps of current through whatever lamp or device is connected to them. This is especially true of NiCd cells, some of which can generate many amps for a brief time.