1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00

Cleared numberOfKnocks variable

Fixed according to #2294
This commit is contained in:
Arturo Guadalupi 2015-06-01 10:33:26 +02:00
parent 7e0dd9b974
commit 0d4f208f1a

View File

@ -140,6 +140,8 @@ void loop() {
digitalWrite(greenLed, HIGH);
digitalWrite(redLed, LOW);
Serial.println("the box is unlocked!");
numberOfKnocks = 0;
}
}
}