In general, the brightness of light emitted from an LED is a function of the current flowing through the LED. Control circuit 900 controls the amount of current flowing through LED 902 by generating a pulse-width modulated signal 904 that is provided through a resistor 906 to the base of a current-sourcing transistor 908.