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:
11:af7687f1a985
Parent:
6:a28c1967bb83

File content as of revision 11:af7687f1a985:

#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;
}