mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
parent
7e0dd9b974
commit
0d4f208f1a
@ -140,6 +140,8 @@ void loop() {
|
|||||||
digitalWrite(greenLed, HIGH);
|
digitalWrite(greenLed, HIGH);
|
||||||
digitalWrite(redLed, LOW);
|
digitalWrite(redLed, LOW);
|
||||||
Serial.println("the box is unlocked!");
|
Serial.println("the box is unlocked!");
|
||||||
|
|
||||||
|
numberOfKnocks = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user