A method and control circuit are disclosed for controlling light emitting diodes (“LEDs”). Based upon the LED's current versus intensity characteristic and temperature versus intensity characteristic, the rate of change of LED output intensity with respect to current is calculated. Adjusting LED current to provide zero rate of change ensures that LED output is maximised.