Lucas Borges
/
MenuLCD_Copy
this locks like shit
Fork of MenuLCD_copy by
Diff: menbed/include/menbed.h
- Revision:
- 0:92357d1220f3
diff -r 000000000000 -r 92357d1220f3 menbed/include/menbed.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/menbed/include/menbed.h Fri May 19 13:07:52 2017 +0000 @@ -0,0 +1,42 @@ +#ifndef _MENBED_H_ +#define _MENBED_H_ + +#include "menbedButtonEvent.h" +#include "menbedButtonHandler.h" +#include "menbedButtonHandlerTimespec.h" +#include "menbedNavigator.h" +#include "menbedMenu.h" +#include "menbedMenuItem.h" +#include "menbedRefresher.h" + +#include "../displays/include/menbedDisplayHD44780.h" + + +class Menbed { +public: + Menbed (PinName select, PinName down, PinName up, PinName cancel, + MenbedMenu *rootMenu, + MenbedDisplay *display); + + Menbed (PinName select, PinName down, PinName up, + MenbedMenu *rootMenu, + MenbedDisplay *display); + + Menbed (PinName select, PinName down, + MenbedMenu *rootMenu, + MenbedDisplay *display); + + Menbed (PinName select, PinName down, PinName up, PinName cancel, + MenbedButtonHandlerTimespec *timespec, + MenbedMenu *rootMenu, + MenbedDisplay *display); + + ~Menbed (); +protected: + MenbedButtonHandler *buttonHandler; + MenbedNavigator *navigator; + MenbedDisplayer *displayer; + MenbedRefresher *refresher; +}; + +#endif /* _MENBED_H_ */ \ No newline at end of file