Continued tweaking LED code