Patent ID: 8324840

Claim:
A method of providing power to a plurality of light emitting diodes couplable to receive an AC voltage, the method comprising: in response to a first parameter during a first part of an AC voltage interval: determining and storing a value of a second parameter, wherein the plurality of light emitting diodes are coupled in series and form a plurality of segments of light emitting diodes, each segment of light emitting diodes comprising one or more light emitting diodes, and wherein the plurality of segments of light emitting diodes are coupled in series and are coupled to a corresponding plurality of switches to switch a selected segment of light emitting diodes into or out of a series light emitting diode current path; and switching a corresponding segment of light emitting diodes into the series light emitting diode current path; and during a second part of the AC voltage interval: monitoring the second parameter; and in response to a current value of the second parameter being substantially equal to the stored value of the second parameter, switching the corresponding segment of light emitting diodes out of the series light emitting diode current path.