Lucas Borges
/
MenuLCD_Copy
this locks like shit
Fork of MenuLCD_copy by
menbed/menbedMenu.cpp
- Committer:
- LucasMatBorges
- Date:
- 2017-05-19
- Revision:
- 1:f105b690aeb7
- Parent:
- 0:92357d1220f3
File content as of revision 1:f105b690aeb7:
#include "mbed.h" #include "include/menbedMenuItem.h" #include "include/menbedMenu.h" MenbedMenu::MenbedMenu (uint8_t nItems, MenbedMenuItem *items[]) { parentMenu = NULL; parentSelectedItemIndex = -1; parentTopOfScreenItemIndex = 0; for (int i = 0; i<nItems; i++) menuItems.push_back (items[i]); }