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

Dependencies:   ConfigFile N5110 PowerControl beep mbed

Revision:
46:613eabb6ea86
Parent:
42:2eba0c075a89
Child:
51:df3bab1d6926
--- a/main.cpp	Thu Apr 23 19:16:54 2015 +0000
+++ b/main.cpp	Thu Apr 23 19:21:23 2015 +0000
@@ -14,7 +14,7 @@
 
 int main()
 {
-    ledY = 1;//power LED on
+    ledP = 1;//power LED on
     randomise();//randomises falling hazards (initial values only)
     calibrateJoystick();//get centred values of joystick
     pollJoystick.attach(&updateJoystick,1.0/10.0);//read joystick 10 times per second