Library containing the Game Engine
Diff: GameEngine.cpp
- Revision:
- 14:84d2f115062e
- Parent:
- 13:63013a418903
diff -r 63013a418903 -r 84d2f115062e GameEngine.cpp --- a/GameEngine.cpp Thu May 04 11:36:35 2017 +0000 +++ b/GameEngine.cpp Thu May 04 11:46:33 2017 +0000 @@ -49,8 +49,10 @@ lcd.printString(bufferscore,WIDTH/2 + 20,3); lcd.printString(" Press A ",0,5); lcd.refresh(); + wait(0.5); while(1){ + wait(0.5); if(pad.check_event(Gamepad::A_PRESSED)){ //Waits for A button to be pressed. NVIC_SystemReset(); //Software Reset. }