Features:
- Tested on AVRs ( incl. Arduino ) and ARMs
- more after break...
Features:
- Tested on AVRs ( incl. Arduino ) and ARMs
- Needs just four keys: left, right, up, down
- Works on character and graphical LCDs
- Multilanguage
- Simple configuration in file menu.h
- Has also some optional number/temperature/time edit dialogs, but needs more tweaking
static char *mainMenu[] = { "Menu title", "First item", "Second item", 0};
switch(showMenu(mainMenu))
{
case 0:
// First item selected
break;
case 1:
// Second item selected
break;
}switch(showMenu(mainMenu))
{
case 0:
// First item selected
break;
case 1:
// Second item selected
break;
More on separate page with menu v1 project
No comments:
Post a Comment