Serial LCD Menu system with buttons instead of RPG. Based on Peihsun Yeh's work

Fork of Menu by Peihsun Yeh

Menu.cpp

Committer:
mshuck
Date:
2013-08-04
Revision:
5:70fec61bebaf
Parent:
1:84d263c8932d

File content as of revision 5:70fec61bebaf:

#include "mbed.h"
#include "Menu.h"
#include "Selection.h"

Menu::Menu(char *id) : menuID(id)
{
    selections.clear();
}

void Menu::add(const Selection &toAdd)
{
    selections.push_back(toAdd);
}