delayMicroseconds to millis

The first post has only two calls to millis - you need to pay attention to detail.
It's very important if you want to get anywhere in software.

Of course. six times in the second post but what i want to say is that anything more than one call is unnecessary and increase the code execut time.