Adepted led driver such that it is compatible with astrids code