A retro gaming programme, designed for use on a portable embedded system. Incorporates power saving techniques.

Dependencies:   ConfigFile N5110 PowerControl beep mbed

Revision:
49:fe0999aab485
Parent:
48:e53a194661fa
Child:
50:b8a3b84ed221
--- a/tower.h	Mon Apr 27 16:48:37 2015 +0000
+++ b/tower.h	Mon Apr 27 16:54:22 2015 +0000
@@ -860,7 +860,6 @@
         if (joystick.direction == UNKNOWN)
             serial.printf(" Unsupported direction\n");
     }
-
     //'ON' option 1
     if (fxOption == 0) {
         lcd.drawCircle(72,27,2,1);//draw cursor 'ON'
@@ -969,7 +968,6 @@
                 if (joystick.direction == UNKNOWN)
                     serial.printf(" Unsupported direction\n");
             }
-            
             //if initial 3 display selected character
             if (initial == 0) {
                 x=fsm[state1].output1;
@@ -985,7 +983,6 @@
                 z=fsm[state3].output3;
                 lcd.printChar(z,49,26);
             }
-
             if(buttonFlagA) {
                 actionButtons();
                 buttonFlagA = 0;
@@ -1022,8 +1019,6 @@
     }
 }
 
-
-
 //actual game
 void game(int& exitFlag, int& exitOption)
 {