Snake vs Block Game to be run upon K64F.

Dependencies:   mbed

Revision:
9:d1d79d4ee673
Parent:
7:48ba87cd79b5
Child:
15:f4d069da093d
--- a/StartScreen/StartScreen.cpp	Tue Mar 26 18:36:50 2019 +0000
+++ b/StartScreen/StartScreen.cpp	Wed Mar 27 18:20:36 2019 +0000
@@ -363,8 +363,8 @@
             lcd.refresh();
         }
     }
+    pad.tone(1000.0,0.1);
     menu_screen1(lcd, pad);
-    pad.tone(1000.0,0.1);
 }
     else
     {
@@ -410,6 +410,7 @@
         }
         if (pad.check_event(Gamepad::BACK_PRESSED) == true) { 
             lcd.clear();
+            pad.tone(1000.0,0.1);
             menu_screen1(lcd, pad);
         }   
     }
@@ -481,6 +482,7 @@
         if (pad.check_event(Gamepad::BACK_PRESSED) == true) {
             lcd.clear();
             wait(1/cs);
+            pad.tone(1000.0,0.1);
             menu_screen2(lcd, pad);
         }
     }