Hi,
I'm designing a security system for a school project, however I'm struggling on how to interface a matrix keypad with a PIC16F84A. I understand that I have to set a column high, and wait for an input on the corresponding row pin. I believe that I should use the BTFSC command, however I'm unsure how I'd set the RBx pins as inputs as I'd need 7 inputs.
Has anyone got any advice?
I'm designing a security system for a school project, however I'm struggling on how to interface a matrix keypad with a PIC16F84A. I understand that I have to set a column high, and wait for an input on the corresponding row pin. I believe that I should use the BTFSC command, however I'm unsure how I'd set the RBx pins as inputs as I'd need 7 inputs.
Has anyone got any advice?