mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2024-10-05 20:47:50 -04:00
.
This commit is contained in:
parent
94c4c13cc5
commit
747342e9cc
@ -41,7 +41,7 @@ void TaskLightsAutoCode(void* parameters) {
|
||||
// If lights are bright, then turn lights OFF and decrease delay interval
|
||||
else {
|
||||
digitalWrite(LIGHTS_PIN, LOW);
|
||||
vTaskDelay(pdMS_TO_TICKS(5000));
|
||||
vTaskDelay(pdMS_TO_TICKS(1000));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user