Led display changes

Thank You Grumpy Mike, You are completly right, I did NOT rite this code, I do not have the expertise to do so. It kinda did what I am looking to do, except for the problem I mentioned.
I wll also take you advise and go back over the rules. Thank You