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
Diff: main.cpp
- Revision:
- 11:7027f69672fc
- Parent:
- 9:d217a636c18d
- Child:
- 18:78001ecadcb2
--- a/main.cpp Sun Apr 22 23:34:39 2018 +0000 +++ b/main.cpp Mon Apr 23 21:10:55 2018 +0000 @@ -26,17 +26,16 @@ int main() { - int fps = 30; - + init(); welcome(); render(); - wait(1.0f/fps); + while(1){ engine.read_input(pad); - engine.update(pad); + engine.update(pad,lcd); render(); wait(0.1); } @@ -53,7 +52,9 @@ } void welcome() { - lcd.printString(" TXZ ",0,1); + lcd.printString(" How to be",0,0); + lcd.printString(" A",0,1); + lcd.printString(" Millionaire",0,2); lcd.printString(" Press Start ",0,4); lcd.refresh();