mirror of
https://github.com/zyphlar/open-access-control-minimal-http.git
synced 2024-03-08 15:57:47 +00:00
Finished testing, changed debounce
This commit is contained in:
parent
1c7f317421
commit
12b2e23d7c
|
@ -166,7 +166,7 @@ void loop() // Main branch, runs over and ov
|
|||
}
|
||||
if(extendButtonDebounce > 5){
|
||||
relay1timer += RELAYDELAY;
|
||||
extendButtonDebounce = -10;
|
||||
extendButtonDebounce = -15;
|
||||
}
|
||||
|
||||
// calculate current time elapsed
|
||||
|
@ -225,7 +225,7 @@ void loop() // Main branch, runs over and ov
|
|||
}
|
||||
}
|
||||
|
||||
if(remaining == 10) {
|
||||
if(remaining == 15) {
|
||||
for(int berp=0; berp<4; berp++){
|
||||
digitalWrite(warningLED, HIGH);
|
||||
tone(buzzerPin, 1661, 800);
|
||||
|
|
Loading…
Reference in New Issue
Block a user