Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed Gamepad N5110
Revision 23:fd0339ec480c, committed 2019-05-06
- Comitter:
- 694617778
- Date:
- Mon May 06 05:26:28 2019 +0000
- Parent:
- 22:51fb86b48d9d
- Commit message:
- Final Submission. I have read and agreed with Statement of Academic Integrity.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun May 05 16:31:55 2019 +0000
+++ b/main.cpp Mon May 06 05:26:28 2019 +0000
@@ -32,7 +32,7 @@
// choose game and game loop
if(engine.game == 0){
while (snake.over == 0) {
- run(); // run the snake game
+ run(); // run snake game
while (pad.check_event(Gamepad::START_PRESSED) == true){
engine.pause(pad,lcd); // pause the game
}