Patent attributes
An illumination device comprising a plurality of light emitting diodes (LEDs) and a method for controlling the illumination device while avoiding flicker in the LED output is provided herein. According to one embodiment, the method may include driving the plurality of LEDs substantially continuously with drive currents configured to produce illumination, periodically turning the plurality of LEDs off for short durations of time during a first period to take measurements or communicate optical data, and increasing the drive currents supplied to the plurality of LEDs by a small amount when the LEDs are on during the first period to compensate for lack of illumination when the LEDs are periodically turned off during the first period.