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.
Diff: main.cpp
- Revision:
- 5:7e8f5fad7b6b
- Parent:
- 4:2f01b85e57f9
- Child:
- 6:952ac12c7f00
--- a/main.cpp Sat Apr 06 15:11:17 2019 +0000 +++ b/main.cpp Sat Apr 06 15:19:56 2019 +0000 @@ -25,9 +25,9 @@ void startmenu() { lcd.clear(); - char gamename[] = {'L', 'A', 'B', 'Y', 'R', 'I', 'N', 'T', 'H', '\0'}; + char gamename[] = {'L', 'A', 'B', 'Y', 'R', 'I', 'N', 'T', 'H', ' ', ' ', '\0'}; int i = 0; - for(int a = 0; a < 30; a++){ + for(int a = 0; a < 35; a++){ lcd.clear(); lcd.drawCircle(24+2*a, 21, 3, FILL_BLACK); for (i = 0; i < a/3; i++) { @@ -36,4 +36,7 @@ } wait(0.05); } + lcd.printString("Press start", 9, 4); + lcd.printString("to play >", 15, 5); + }