i intend to make this project a digital code lock. i want the micro to do other things but on tapping the keypad an iterrupt should occur and goto keypad isr for keyencoding after the encoding the program shud return to what it was doing.
i want to attachment. thanks
If _you_ want to make a code lock, why do you want to receive working code? Wouldn't that mean someone else would have made the code lock then?
Many ARM chips supports pin-change interrupts. If your processor - that you didn't think important to tell us the model name of - does support pin-change interrupts, then you can use this to detect when any key is pressed. Unless you use one pin for each key, you would then have to write a traditional key-scan function that performs normal debouncing/scanning of a multiplexed keypad.
Simple code, but good practice for _you_.