FRDM-K64F + Application Shield + Grove Sensors(Sunlight, Water, PIR motion)

Dependencies:   C12832 SI1145 mbed-rtos mbed

Fork of FRDM_ApplicationShield_GroveSensors by Aleš Zoran

Revision:
2:f7710077a4b5
Parent:
1:0690e7540e7e
--- 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);
     }