delay
можно переписать вот так:
long previousMillis = millis();
while (true) {
if (millis() - previousMillis >= 120) {
break;
}
previousMillis = millis();
}
Или так:
for (int i = 0; i < 1000000; i++) { ; }
Или так:
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
digitalWrite(NotifyLed, HIGH);
//TODO If delay is too low, use Ctrl+C Ctrl+V
Достаточно или еще придумать?