A mirco-controller and boost converter circuit provide constant current to light
emitting diode array. A micro-controller operatively coupled with a semiconductor
switch and the boost converter circuit measure the ability of a DC power supply
to change the inductor. Duty cycles of the semiconductor switch are modified according
to the measurement so as to supply substantially constant current to the LED array
through an inductor regardless of actual battery voltage.