Code for autonomous ground vehicle, Data Bus, 3rd place winner in 2012 Sparkfun AVC.
Dependencies: Watchdog mbed Schedule SimpleFilter LSM303DLM PinDetect DebounceIn Servo
Menu Class Reference
Simple menu interface model. More...
#include <Menu.h>
Public Member Functions | |
Menu () | |
Create a new menu model. | |
void | add (char *name, FunctionPtr f) |
add a new menu item | |
void | next (void) |
select the next menu item as the current item | |
void | prev (void) |
select the previous menu item as the current item | |
void | select (void) |
run the function associated with the current item | |
char * | getItemName (void) |
return the text for the current item | |
char * | getItemName (int i) |
return text for a specified item | |
void | printAll (void) |
print all the menu items |
Detailed Description
Simple menu interface model.
Definition at line 8 of file Menu.h.
Constructor & Destructor Documentation
Member Function Documentation
char * getItemName | ( | void | ) |
char * getItemName | ( | int | i ) |
void next | ( | void | ) |
void prev | ( | void | ) |
Generated on Tue Jul 12 2022 14:09:28 by 1.7.2