A flashlight having a lamp, a power storage element, a switch, and an
electronic controller. The controller has a switch input connected to the
switch and operates in response to the input to deliver power from the
power storage element to the lamp. The controller may be directly
connected to each of the lamp, source, and switch. The switch may include
several separate contact elements operating sequentially in response to
movement of a switch actuator. The controller may provide different
illumination levels and functions in response to different pressures and
durations of actuation. The flashlight may include a dimmer level control
to establish an intermediate "dimmed" output level, and operate to
provide the selected dimmed output when the switch is depressed by an
intermediate amount, and to provide a greater maximum output level in
response to full actuation of the switch.