Library containing the Game Engine
Revision 14:84d2f115062e, committed 2017-05-04
- Comitter:
- ll14c4p
- Date:
- Thu May 04 11:46:33 2017 +0000
- Parent:
- 13:63013a418903
- Commit message:
- Bugfixes
Changed in this revision
GameEngine.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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. }