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:
- 16:93ae2f311fd8
- Parent:
- 15:ff3eb0091453
- Child:
- 17:242ccf6a8442
--- 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