Changed Clock Brightness to 128, added relay 3 to be controlled by the lightswitch

This commit is contained in:
2025-09-22 16:12:14 +02:00
parent 7c3dbfab63
commit c450cfb7c9
4 changed files with 24 additions and 19 deletions

View File

@@ -25,9 +25,11 @@ void openPITmanually() {
void arenaLIGHT() {
if (switchLIGHT.on()) {
digitalWrite(LIGHT_PIN, LOW);
digitalWrite(LIGHT_PIN2, LOW);
}
else {
digitalWrite(LIGHT_PIN, HIGH);
digitalWrite(LIGHT_PIN2, HIGH);
}
}