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: GraphicEngine/GraphicEngine.cpp
- Revision:
- 51:4c1f49729d88
- Parent:
- 50:9ffeb4a10c0a
- Child:
- 52:1145e99264ea
--- a/GraphicEngine/GraphicEngine.cpp Mon May 25 02:18:57 2020 +0000
+++ b/GraphicEngine/GraphicEngine.cpp Mon May 25 16:58:50 2020 +0000
@@ -68,7 +68,7 @@
void GraphicEngine::newLevel1()
{
lcd.printString("|------------|", 0,0);
- lcd.printString("| 1 |", 0,1);
+ lcd.printString("|Congrats! |", 0,1);
lcd.printString("| |", 0,2);
lcd.printString("| |", 0,3);
lcd.printString("| |", 0,4);
@@ -79,44 +79,13 @@
void GraphicEngine::newLevel2()
{
lcd.printString("|------------|", 0,0);
- lcd.printString("| |", 0,1);
- lcd.printString("| 2 |", 0,2);
- lcd.printString("| |", 0,3);
- lcd.printString("| |", 0,4);
- lcd.printString("|------------|", 0,5);
-}
-
-
-void GraphicEngine::newLevel3()
-{
- lcd.printString("|------------|", 0,0);
- lcd.printString("| |", 0,1);
- lcd.printString("| 3 |", 0,2);
- lcd.printString("| |", 0,3);
+ lcd.printString("| Loading |", 0,1);
+ lcd.printString("| |", 0,2);
+ lcd.printString("| Level 2 |", 0,3);
lcd.printString("| |", 0,4);
lcd.printString("|------------|", 0,5);
}
-
-void GraphicEngine::newLevelIntro()
-{
- lcd.printString("|------------|", 0,0);
- lcd.printString("| |", 0,1);
- lcd.printString("| |", 0,2);
- lcd.printString("| LEVEL 2 |", 0,3);
- lcd.printString("| |", 0,4);
- lcd.printString("|------------|", 0,5);
-}
-
-void GraphicEngine::newLevelGo()
-{
- lcd.printString("|------------|", 0,0);
- lcd.printString("| |", 0,1);
- lcd.printString("| |", 0,2);
- lcd.printString("| |", 0,3);
- lcd.printString("| GO! |", 0,4);
- lcd.printString("|------------|", 0,5);
-}
void GraphicEngine::init()
{
lcd.init();