Hello In your code you have enabled pullups resistor to vcc in portb so please change your ports
because "Column bits must have Pull-up resistor attach to VCC"
Ex:
DEFINE KEYPAD_ROW 6 ' 6 row
define KEYPAD_ROW_PORT PORTC '
DEFINE KEYPAD_ROW_BIT 0 '
DEFINE KEYPAD_COL 4 ' 4 col
DEFINE KEYPAD_COL_PORT PORTB '
DEFINE KEYPAD_COL_BIT 0 '




Bookmarks