How to get rid of this blocking delay

Example-code for timing based on millis()

BlinkWithoutDelay