added a delay after switching relay (#4474)

- helps to stabilize power on the LEDs before sending data
This commit is contained in:
Damian Schneider
2025-01-09 22:41:45 +01:00
committed by Frank
parent 79c26db4fa
commit f4061e671b

View File

@@ -369,6 +369,7 @@ void handleIO()
if (rlyPin>=0) {
pinMode(rlyPin, OUTPUT);
digitalWrite(rlyPin, rlyMde);
delay(50); // wait for relay to switch and power to stabilize
}
offMode = false;
}