Description: This is a modification of CCS keypad driver (KBDD.c) with flexible pins connections.
Code:
///////////////////////////////////////////////////////////////////////////
//// Flex_KBD.C ////
//// Generic keypad scan driver ////
//// ////
//// kbd_init() Must be called before any other function. ////
//// ////
//// c = kbd_getc(c) Will return a key value if pressed or /0 if not ////
//// This function should be called frequently so as ////
//// not to miss a key press. ////
To Search:
File list (Check if you may need any files):
Flexible Keypad Driver.txt