Adjust the LCD_Menu to use the mBed Application board resources

Dependents:   class_project_main

Fork of SerialLCD_Menu by Mark Shuck

Selection.cpp

Committer:
jakowisp
Date:
2013-09-12
Revision:
13:98d452550cbe
Parent:
11:af7687f1a985

File content as of revision 13:98d452550cbe:

#include "mbed.h"
#include "Selection.h"
//#include "SerialLCD.h"

Selection::Selection(void (*fun)(), int position, Menu *child, char* text) : 
    fun(fun), selText(text), pos(position), childMenu(child) {
    value=0x00;
}

Selection::Selection(uint8_t value, int position, Menu *child, char* text) : 
    value(value), selText(text), pos(position), childMenu(child) {
       fun=NULL;
}