Keypad,DC motors, Pir sensor

Hello, I am doing a school project and I have a little problem going on with programming. I am not so good in programming so I really don t know how to program my keypad. I created a door which opens by typing the right code. It works, but i would like to improve it. If the person types a code 5 times wrong i would like to somehow deactivate the keypad so that i am not able to type the pin code again on my LCD I2C display. I tried it a few times but I dont know how to do it.

Please read the topic "How to get the best out of this forum."

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.