dbrgn / RPLCD

A Raspberry Pi LCD library for the widely used Hitachi HD44780 controller, written in Python. GPIO (parallel) and I²C modes supported.
https://rplcd.readthedocs.io/en/latest/
MIT License
263 stars 72 forks source link

Creating Menu #85

Closed vickey97 closed 6 years ago

vickey97 commented 6 years ago

Hey, I was interfacing my LCD with RPi and used this library really loved it but now i wanted to create a menu which can be run with buttons like when i press the button i get into its inside menu. Can anyone help me? I searched but cannot find anything about creating a menu tree. For Example: I Have three buttons A, B and C. A is for enter, Bis for next, C is for back. Now i want to create a menu like

  1. Fruits -Apple, -Banana.
  2. Vegetables -Cabbage, -Spinach.

So I want to create a program in LCD by which i can roam around in this type of menu. Point me in direction i'll do the work. Any help is greatly appreciated.

dbrgn commented 6 years ago

Hi. What you want doesn't have anything specifically to do with RPLCD.

What I would recommend is to do the following:

Does that help?