Not using delay () in a 'for' loop

In a nutshell, you need to get rid of the "for" loop, and implement the iteration that it performs explicitly in the state machine PaulS described.
Example to follow.