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

Dependencies:   ConfigFile N5110 PowerControl beep mbed

Revision:
19:e0fd493816ae
Parent:
17:242ccf6a8442
Child:
35:9f55326c1b0a
--- a/main.cpp	Sat Apr 18 01:27:03 2015 +0000
+++ b/main.cpp	Sat Apr 18 05:13:05 2015 +0000
@@ -39,16 +39,19 @@
         // if 'Play Game' selected
         if ((mainOption == 0)&&(buttonFlagA)) {
             buttonFlagA = 0;
+            buttonFlagB = 0;
             game(exitFlag, exitOption);//actual game
         }
         // if 'Scores' selected
         if((mainOption == 1)&&(buttonFlagA)) {
             buttonFlagA = 0;
+            buttonFlagB = 0;
             scores();
         }
         // if 'option' selected
         if((mainOption == 2)&&(buttonFlagA)) {
             buttonFlagA = 0;
+            buttonFlagB = 0;
             optionsMenu();
         }
         sleep();