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

Dependencies:   ConfigFile N5110 PowerControl beep mbed

Files at this revision

API Documentation at this revision

Comitter:
el13drt
Date:
Fri Apr 17 21:26:52 2015 +0000
Parent:
15:ff3eb0091453
Child:
17:242ccf6a8442
Commit message:
PRE FX;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
tower.h Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Apr 17 20:23:31 2015 +0000
+++ b/main.cpp	Fri Apr 17 21:26:52 2015 +0000
@@ -30,8 +30,8 @@
     buttonA.mode(PullDown);
     buttonB.mode(PullDown);
     
-    timer.attach(&timerExpiredA, 0.1);//checks state of buttonA
-    timer2.attach(&timerExpiredB, 0.1);//checks state of buttonB
+    timer.attach(&timerExpiredA, 0.2);//checks state of buttonA
+    timer2.attach(&timerExpiredB, 0.2);//checks state of buttonB
     
     while(1) {
         drawMainMenu();//draws main menu
--- a/tower.h	Fri Apr 17 20:23:31 2015 +0000
+++ b/tower.h	Fri Apr 17 21:26:52 2015 +0000
@@ -776,7 +776,6 @@
     }
 }
 
-
 // draw Sound FX settings
 void drawSoundFXMenu()
 {
@@ -876,7 +875,9 @@
                 resetGame();
                 break;
             }
+            //wait(0.05);
             startrek();//clears unset pixels, keeps set pixels
+            
 
 /// Exit Menu (Back button pressed)///
             if(buttonB == 1) {