First version of the led control