A retro gaming programme, designed for use on a portable embedded system. Incorporates power saving techniques.
Dependencies: ConfigFile N5110 PowerControl beep mbed
Diff: main.cpp
- Revision:
- 42:2eba0c075a89
- Parent:
- 40:56ab6d368e9b
- Child:
- 46:613eabb6ea86
--- a/main.cpp Thu Apr 23 18:46:16 2015 +0000 +++ b/main.cpp Thu Apr 23 18:52:58 2015 +0000 @@ -14,7 +14,7 @@ int main() { - ledR = 1;//power LED on + ledY = 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