updated delayMicroseconds