Problem solved...by moving ALL rows and columns to PortB ...
Code:; Default settings ; ================ KB_ROW = 4 ; 4 ROW keypad KB_ROW_PORT = PORTB ; Keypad ROW on PORTB KB_ROW_BIT = 0 ; ROW0 = PORTB.0 KB_COL = 4 ; 4 COL keypad KB_COL_PORT = PORTB ; Keypad Col on PORTB KB_COL_BIT = 4 ; COL0 = PORTB.4 DebounceDelay = 0x200 ; debounce delay 200mSec SINGLE_SCAN = 0 ; Scan ;till a key is pressed
Bookmarks