Finished testing, changed debounce

This commit is contained in:
Will Bradley 2011-12-03 02:49:38 -07:00
parent 1c7f317421
commit 12b2e23d7c

View File

@ -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);