Snake vs Block Game to be run upon K64F.

Dependencies:   mbed

Revision:
38:30e4e6191762
Parent:
36:dfdd619874ae
Child:
39:210ac915e0a0
diff -r ee47699915b8 -r 30e4e6191762 StartScreen/StartScreen.cpp
--- a/StartScreen/StartScreen.cpp	Thu Apr 18 14:03:43 2019 +0000
+++ b/StartScreen/StartScreen.cpp	Mon Apr 22 04:24:38 2019 +0000
@@ -280,10 +280,12 @@
     lcd.drawSprite(65,22,13,8,(int *)navR); //Function used to draw the sprite.
     if(lr==1)  {
         lcd.printString("Joystick",18,1);
+        gm = 1;
         lcd.refresh();
     }
     if(lr==2)  {
         lcd.printString("Motion Control",1,1);
+        gm = 2;
         lcd.drawSprite(29,19,13,5,(int *)bullet); //Function used to draw the sprite.
     }
     lcd.refresh();