Hi.. I would like to know what library and what is the programming method could I use to this statement..
I am currently developing a project using secret knock with attempt warning after 3 times of wrong attempt.
int attempt = 0;
Increment when someone knock with wrong pattern.. when it reaches 3, the buzzer will be high..
What I would like to do is:
- When someone knock It will increment the attempt but when the knocker stop with 10 minutes interval the variable attempt should be back to zero.