Snake vs Block Game to be run upon K64F.

Dependencies:   mbed

Revision:
39:210ac915e0a0
Parent:
38:30e4e6191762
Child:
42:973bb6036f81
diff -r 30e4e6191762 -r 210ac915e0a0 StartScreen/StartScreen.cpp
--- a/StartScreen/StartScreen.cpp	Mon Apr 22 04:24:38 2019 +0000
+++ b/StartScreen/StartScreen.cpp	Mon Apr 22 05:28:37 2019 +0000
@@ -280,12 +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;
+        g_mode = 1;
         lcd.refresh();
     }
     if(lr==2)  {
         lcd.printString("Motion Control",1,1);
-        gm = 2;
+        g_mode = 2;
         lcd.drawSprite(29,19,13,5,(int *)bullet); //Function used to draw the sprite.
     }
     lcd.refresh();