1. An apparatus for driving light emitting diode (LED) elements comprising: an error amplifier; a pulse width modulation comparator electrically connected to an output of said error amplifier; a DC-DC converter electrically connected to an output of said pulse width modulation comparator and an output pad; at least one light emitting diode (LED) electrically connected to an input of said error amplifier and to an output of a most significant bit (MSB) network; an output buffer having inputs and an output, wherein a first input is connected to the output of the MSB network and a second input is connected to a drain of a MSB diode element and to a source of a control transistor and the output of the output buffer is connected to a gate of the control transistor, wherein the output buffer creates an active cascode at an output of the MSB network, which is also an output stage of an exponential current digital-to-analog converter (IDAC), wherein a current through the control transistor is proportional to an output current of the MSB network flowing through the at least one LED; said control transistor having its drain connected to a drain of a first p-type transistor of a first current mirror, wherein the gate of the first p-type transistor is connected to the gate of a second p-type transistor, and the first current mirror is formed of the first and second p-type transistors wherein the sources of both transistors of the first current mirror are connected to VDD voltage and the drain of the second p-type transistor is connected to an output current of a least significant bit (LSB) network network; wherein the IDAC comprises a least significant bit exponential current IDAC (LSBIDAC) comprising the LSB network and a binary weighted most significant bit exponential current IDAC (MSBIDAC) comprising the MSB network, wherein a desired value of the IDAC output current is set by a digital word whose first n bits form the most significant part (MSB code) and whose last bits form the least significant bit part (LSB code), wherein said binary weighted most significant bit (MSBIDAC) is electrically connected to said cathode of said light emitting diode (LED) and to an input of said error amplifier; wherein said MSB network comprises: said MSB diode element having its source connected to a voltage source and its gate to gates of a multitude of MSB current mirror transistors; said multitude of the MSB current mirror transistors, having their sources connected to the voltage source and each drain of the current mirror transistors is connected to a first terminal of an own MSB code switch, wherein the number of the MSB current mirror transistors corresponds to the number of bits in the MSB part of the digital word and wherein the sizes of the MSB current mirror transistors are binary weighted in relation to the size of the MSB diode element depending on a relative position within the MSB part of the digital word according to the equation: size=1/C×2 MSB pos-1 , wherein the position to find where each MSB current mirror transistor is located in a parallel deployment of transistors in the MSB network, C corresponds to the size of the MSB diode element and MSB pos corresponds to the position of a MSB current mirror transistor related to a position of a correspondent bit of the MSB code; and said MSB code switches, wherein the second terminals of the MSB code switches are all connected to the output of the MSB network, wherein each switch is closed or open according to the value of a correspondent bit of the MSB code, wherein the correspondent bit relates to the position of the correspondent MSB current transistor it is connected to; wherein the output current of the LSB network is mirrored by the first current mirror, furthermore flowing through the control transistor, which is controlled by the buffer and is then mirrored by the current mirror formed by the MSB diode element and the MSB current mirror transistors to become, dependent on the status of the switches, the output current of the exponential current digital-to-analog converter (IDAC) is driving the LED elements.