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: NokiaLCD SDFileSystem SIgame mbed-rtos mbed wave_player
Revision 1:02e3c9b77580, committed 2013-03-07
- Comitter:
- zlee9
- Date:
- Thu Mar 07 22:01:46 2013 +0000
- Parent:
- 0:fcfeec8463fa
- Child:
- 2:e4ad6972ddc2
- Commit message:
- Fixed winning message.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Mar 07 02:59:24 2013 +0000
+++ b/main.cpp Thu Mar 07 22:01:46 2013 +0000
@@ -275,15 +275,19 @@
******/
// Congratulation screen
lcd.cls();
- lcd.locate(0,3);
- lcd.printf("WELL DONE\n\rEARTHLING");
- lcd.locate(0,6);
- lcd.printf("THIS TIME YOU WIN");
+ lcd.locate(0,2);
+ lcd.printf("WELL DONE");
+ lcd.locate(0,5);
+ lcd.printf("EARTHLING");
+ lcd.locate(0,8);
+ lcd.printf("THIS TIME YOU");
+ lcd.locate(0,11);
+ lcd.printf("WIN");
wait(2);
// Prompt player to play game again
lcd.cls();
- lcd.locate(0,10);
+ lcd.locate(0,11);
lcd.printf("PRESS BUTTON TO PLAY AGAIN");
WAIT4FULLPUSH(button);
}