Is there a pattern out there for a simple menu system in C for a text LCD. I find myself re-writing code a lot for handling simple text LCD menus.
I find most systems have a main menu and some sub-menus that when selected allow you to set a parameter with within some minimum and maximum value.
Ideally this menu system could be navigated with 4 simple keys such as enter, cancel, up, and down.
In my application I'm using a 2 line x 16 character text LCD though an ideal solution should be able to be applied to any NxM display.