LEDCTL
This commit is contained in:
parent
2ca0b3ea9b
commit
706bb4bbd2
1 changed files with 2 additions and 0 deletions
|
@ -50,8 +50,10 @@ void toggleDoor() {
|
|||
// Toggle the relay based on the current state
|
||||
if (relayState == LOW) {
|
||||
lockDoor();
|
||||
digitalWrite(LEDCTL_PIN,LOW);
|
||||
} else {
|
||||
unlockDoor(false);
|
||||
digitalWrite(LEDCTL_PIN,HIGH);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue