This is a full rewrite of  the original code for the led light control system.