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:
- 3:f2e5ffd2b94c
- Parent:
- 1:99d524f81566
- Child:
- 4:2f01b85e57f9
--- a/main.cpp Tue Apr 02 20:33:17 2019 +0000 +++ b/main.cpp Sat Apr 06 14:50:43 2019 +0000 @@ -25,10 +25,10 @@ void startmenu() { lcd.clear(); char gamename[] = {'L', 'A', 'B', 'Y', 'R', 'I', 'N', 'T', 'H', '\0'}; - for (int i = 0; i < 9; i++) { - - lcd.printChar(gamename[i], i*6, 0); + int i = 0; + for (i = 0; i < 9; i++) { + lcd.printChar(gamename[i], 15+i*6, 2); lcd.refresh(); - wait(0.2); - } + wait(0.2); + } }