FRDM-K64F + Application Shield + Grove Sensors(Sunlight, Water, PIR motion)
Dependencies: C12832 SI1145 mbed-rtos mbed
Fork of FRDM_ApplicationShield_GroveSensors by
Revision 2:f7710077a4b5, committed 2016-10-20
- Comitter:
- zoran93
- Date:
- Thu Oct 20 10:39:16 2016 +0000
- Parent:
- 1:0690e7540e7e
- Commit message:
- FRDM-K64F + Application Shield + Grove Sensors(Sunlight, Water, PIR motion)
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 0690e7540e7e -r f7710077a4b5 main.cpp --- a/main.cpp Thu Oct 20 10:35:45 2016 +0000 +++ b/main.cpp Thu Oct 20 10:39:16 2016 +0000 @@ -165,7 +165,6 @@ } else if (Left){ joystickPos = "LEFT"; - // if (menuItem <= 4 && menuItem > 0) if(menuItem == 0)menuItem = 5; printMenu(--menuItem); } @@ -177,7 +176,6 @@ } else if (Right){ joystickPos = "RIGHT"; - // if (menuItem >= 0 && menuItem < 4) if(menuItem == 4)menuItem = -1; printMenu(++menuItem); }