PIC16F84A with Matrix Keypad.

Thread Starter

JoeSmith23

Joined Jul 20, 2017
1
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?
 
Top