Regarding arduino EEPROM Problem

Facing problem unable to unlock the secretCode.

From the first time I upload the program code to arduino board which can unlock the initial secretCode(1234) and then press “*” to change the secretCode and it still can unlock the secretCode I changed. Afterward, I forgot my secretCode and I reupload the program code. Now I pressed the initial secretCode which unable to unlock.

Kindly let me know is it my arduino board damaged either the program code problem.


sketch_may12a.ino (2 KB)

Please don't cross post. I gave you an answer in your other post...

Thread locked.