Adjust the LCD_Menu to use the mBed Application board resources
Dependents: class_project_main
Fork of SerialLCD_Menu by
Selection.cpp@11:af7687f1a985, 2013-09-12 (annotated)
- Committer:
- jakowisp
- Date:
- Thu Sep 12 05:33:18 2013 +0000
- Revision:
- 11:af7687f1a985
- Parent:
- 6:a28c1967bb83
Added ability to set a uint8_t directly, instead of having a multiple wrapper functions.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pyeh9 | 0:577f0ec71f4c | 1 | #include "mbed.h" |
pyeh9 | 0:577f0ec71f4c | 2 | #include "Selection.h" |
jakowisp | 6:a28c1967bb83 | 3 | //#include "SerialLCD.h" |
pyeh9 | 0:577f0ec71f4c | 4 | |
pyeh9 | 1:84d263c8932d | 5 | Selection::Selection(void (*fun)(), int position, Menu *child, char* text) : |
jakowisp | 11:af7687f1a985 | 6 | fun(fun), selText(text), pos(position), childMenu(child) { |
jakowisp | 11:af7687f1a985 | 7 | value=0x00; |
jakowisp | 11:af7687f1a985 | 8 | } |
jakowisp | 11:af7687f1a985 | 9 | |
jakowisp | 11:af7687f1a985 | 10 | Selection::Selection(uint8_t value, int position, Menu *child, char* text) : |
jakowisp | 11:af7687f1a985 | 11 | value(value), selText(text), pos(position), childMenu(child) { |
jakowisp | 11:af7687f1a985 | 12 | fun=NULL; |
jakowisp | 11:af7687f1a985 | 13 | } |
jakowisp | 11:af7687f1a985 | 14 | |
jakowisp | 11:af7687f1a985 | 15 | |
jakowisp | 11:af7687f1a985 | 16 |