the code builds and it works alright in the simulator.
As for the schematic i cant attach it because the forum says its a invalid file, being a .sch file.
this is just a portion of the code that i copied from the main code which is a lot larger.
also im using a 3x4 keypad and for some reason the column that has the key numbers 7,8,9 when i press the key a random number appears such as 0,2,1. those keys seem to rotate around those number (0,1,2) on each key press and then at a random time the correct key number actually shows up. it only happens to this column.
same with the previous problem it works fine in the simulator but when used in the hardware it screws up. Because of this my keycode can be unlocked even though i appear to be pressing the wrong key. since 7,8,9 are replaced with 0,1,2
Thanks