A circuit for driving a light emitting diode, LED, comprising: an amplifier configured to receive a reference voltage (312, V ref) at an input node of the amplifier; and a digital to analog converter, DAC, coupled to the amplifier through a refresh switch, the DAC comprising: one or more current elements (320A, 320B,... 320N), each of the one or more current elements being configured to receive a clock; one or more switches (340A, 340B,... 340N) corresponding to the one or more current elements (320A, 320B,... 320N); and a feedback switch coupled between the one or more switches (340A, 340B,... 340N) and a feedback node (N 2) of the amplifier; wherein the DAC is configured to provide a feedback voltage at the feedback node (N 2) of the amplifier: wherein the DAC receives a DAC input, the DAC input comprises one or more enable signals corresponding to the one or more current elements, and a current element from among the one or more current elements is activated when a corresponding enable signal received by the current element is at logic high; characterised in that each of the one or more current elements comprises: an AND gate configured to generate a control signal in response to the clock and an enable signal of the one or more enable signals; a first transistor configured to receive the control signal and to provide an output for driving the LED; a second transistor coupled to the first transistor and the refresh switch; and a resistor coupled to the second transistor at a primary node, wherein one end of the resistor is coupled to a secondary power source. an amplifier configured to receive a reference voltage (312, V ref) at an input node of the amplifier; and a digital to analog converter, DAC, coupled to the amplifier through a refresh switch, the DAC comprising: one or more current elements (320A, 320B,... 320N), each of the one or more current elements being configured to receive a clock; one or more switches (340A, 340B,... 340N) corresponding to the one or more current elements (320A, 320B,... 320N); and a feedback switch coupled between the one or more switches (340A, 340B,... 340N) and a feedback node (N 2) of the amplifier; wherein the DAC is configured to provide a feedback voltage at the feedback node (N 2) of the amplifier: wherein the DAC receives a DAC input, the DAC input comprises one or more enable signals corresponding to the one or more current elements, and a current element from among the one or more current elements is activated when a corresponding enable signal received by the current element is at logic high; characterised in that each of the one or more current elements comprises: an AND gate configured to generate a control signal in response to the clock and an enable signal of the one or more enable signals; a first transistor configured to receive the control signal and to provide an output for driving the LED; a second transistor coupled to the first transistor and the refresh switch; and a resistor coupled to the second transistor at a primary node, wherein one end of the resistor is coupled to a secondary power source. wherein the DAC receives a DAC input, the DAC input comprises one or more enable signals corresponding to the one or more current elements, and a current element from among the one or more current elements is activated when a corresponding enable signal received by the current element is at logic high; characterised in that each of the one or more current elements comprises: an AND gate configured to generate a control signal in response to the clock and an enable signal of the one or more enable signals; a first transistor configured to receive the control signal and to provide an output for driving the LED; a second transistor coupled to the first transistor and the refresh switch; and a resistor coupled to the second transistor at a primary node, wherein one end of the resistor is coupled to a secondary power source.