dogfood-timer hotfix for sensor calculation

master
Cole Deck 7 years ago
parent 69013515ed
commit f09abf967f

@ -212,7 +212,7 @@ void setuptime() {
//Serial.println(distance);
if(distance < 30 || analogRead(3) >= 125 || digitalRead(7) == 1 || digitalRead(6) == 1) {
if(distance < 30 || analogRead(3) >= 100 || digitalRead(7) == 1 || digitalRead(6) == 1) {
digitalWrite(10, HIGH);
wait = now();
}

Loading…
Cancel
Save