Hello,
Ive been working on a lockbox design using an 18M2 and code based off of the PicAxe keypad lock kit. I wanted to be able to let users define and use their own PIN. I poked around the forum and haven't really found anything helpful so far.
My thought was to turn the PIN numbers into variable locations. After inputting the correct PIN, the user would be able to hit a button on the keypad (say #, during the "open" state) to use the keypad scanning code (the rows and columns method) to detect which keys are being hit, saving those numbers to separate locations, and then setting the original PIN variables to the user defined PIN.
I haven't had a chance to play around with this yet, but I was wondering if anyone else out there has done something similar, and if I'm on the right track. Any input, or an example of some code that accomplishes this would be greatly appreciated.
Ive been working on a lockbox design using an 18M2 and code based off of the PicAxe keypad lock kit. I wanted to be able to let users define and use their own PIN. I poked around the forum and haven't really found anything helpful so far.
My thought was to turn the PIN numbers into variable locations. After inputting the correct PIN, the user would be able to hit a button on the keypad (say #, during the "open" state) to use the keypad scanning code (the rows and columns method) to detect which keys are being hit, saving those numbers to separate locations, and then setting the original PIN variables to the user defined PIN.
I haven't had a chance to play around with this yet, but I was wondering if anyone else out there has done something similar, and if I'm on the right track. Any input, or an example of some code that accomplishes this would be greatly appreciated.