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: Imposs/ImpossEngine.cpp
- Revision:
- 12:299479b6bb59
- Parent:
- 11:7a4abe731f9c
- Child:
- 13:fd290d2fd917
--- a/Imposs/ImpossEngine.cpp Mon May 25 16:40:59 2020 +0000 +++ b/Imposs/ImpossEngine.cpp Tue May 26 18:16:31 2020 +0000 @@ -57,6 +57,22 @@ if (level == 5){ _five.draw(lcd); } + + if (level == 6){ + while(1){ + lcd.clear(); + lcd.printString(" Well done! ",0,0); + lcd.printString(" You beat all ",0,1); + lcd.printString("of the levels!",0,2); + lcd.printString("Press reset to",0,3); + lcd.printString(" try again! ",0,4); + pad.leds_on(); + wait(0.15); + pad.leds_off(); + wait(0.15); + lcd.refresh(); + } + } _ball.update(_d,pad);