Keypad & LCD
Keypad & LCD
Experiment No.3
Name of the Experiment : Interfacing of LCD to display the message and interface
#include <Keypad.h>
#include <LiquidCrystal.h>
char keys[4][4]= {
//char keys[ROWS][COLS] = {
{'0','1','2','3'},
{'4','5','6','7'},
{'8','9','A','B'},
{'C','D','E','F'}
};
byte rowPins[4] = {4, 5, 6, 7}; //connect to the row pinouts of the kpd
byte colPins[4] = {0, 1, 2, 3}; //connect to the column pinouts of the kpd
void setup() {
void loop() {
if(key)