Vaclav:
holmes4:
you need to design the program correctly in the first place - see blink without delay.Mark
\
..and post your entire code in quotation marks after you auto format it...
. . . though I, and most other users, would prefer it if you used code tags instead of quote tags.