Arduino programming

How to program a 4x4 matrix keypad with a 16x2 lcd panel(combine)

Write a program to do one them write a program to do the other. Then write a program to do both. Simple!

It is upto you to learn how.

Mark

Thanks for replying . I've done that , but i didn't get the function i wanted to have . What i want is that when i press 1 on the keypad , it will be shown on the LCD panel .

In simple terms you need a variable (a char array probably) that holds the data from the keypad.

Your keypad function changes the data in that array.
Your LCD function displays whatever happens to be in the array.

void loop() {
   readKeypad();
   updateLCD();
}

You may find some useful stuff in planning and implementing a program

...R

I've done that , but i didn't get the function i wanted to have

So you post the code that you have written, say what it does and say what you want it to do.

Please read this:-
How to use this forum

Does your 4x4 keypad multiplex on 8 pins?
I have a DIY 4x4 multiplex demo sketch but it might look a bit scary. :smiling_imp:
Can't post, it's over the 9000 char limit with the have to have comments. So I attached it.

Or you can use a keypad library.

BWD_4x4_button.ino (11.5 KB)