Dear all,
I'm in the middle of a project that involves a keypad. It's a 3 x 3 matrix pad connected to PORTB of a PIC18F45K22 uC.
After a little research I have the following questions:
- Which would be the best way to scan the Keypad?
- Shall I use a timer based scan or an ISR?
- Could anyone provide some examples for the C18 compiler?
I am quite new to programming and have never coded a pad before so please go easy on me.
Best regards,
LewisMF
I'm in the middle of a project that involves a keypad. It's a 3 x 3 matrix pad connected to PORTB of a PIC18F45K22 uC.
After a little research I have the following questions:
- Which would be the best way to scan the Keypad?
- Shall I use a timer based scan or an ISR?
- Could anyone provide some examples for the C18 compiler?
I am quite new to programming and have never coded a pad before so please go easy on me.
Best regards,
LewisMF