/LCD_Keypad_multiplexed_interfacing

Using a Keypad along with an LCD Display often eats up the I/O pins on the micro-controller. The solution reduce the number of pins needed to interface both is, multiplex the data bus.

Primary LanguageCMIT LicenseMIT

LCD-Keypad Multiplexed Interfacing

Using a Keypad along with an LCD Display often eats up the I/O pins on the micro-controller. The solution to reduce the number of pins needed to interface both is, multiplex the data bus.

Function calls for Keypad when multiplexed with LCD

Use this function if you want to wait for a key:-

Key = Keypad_ALTwaitForKey(); // Waits until a key is pressed

Use this instead of above function if you don't want to wait:-

Key = Keypad_ALTgetKey(); // It gets the Key or return 0

You must to define the multiplexed pins in both lcd.h and Keypad.h