ST7920 with keypad

Hi community, I intend to use the 128x64 ST7920 with a keypad, but I don’t find some reference about it. And with U8GLIB I didn’t make it work together. Somebody can guide me how to do it? Thank you.

If you use the SPI interface on the ST7920, you have plenty of "spare" GPIO pins for a keypad matrix.

How I do it? I have no idea how it works. Sorry I’m newer user.

First you should connect your display via SPI to your board. U8g2 has a small tutorial on this: setup_tutorial · olikraus/u8g2 Wiki · GitHub.

Then continue with your keypad.