Changed Clock Brightness to 128, added relay 3 to be controlled by the lightswitch
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user