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:
- 3:53f0365461c0
- Parent:
- 2:00a3edbe39b0
- Child:
- 4:fcd80b40f257
--- a/main.cpp Wed May 08 20:01:46 2019 +0000 +++ b/main.cpp Wed May 08 20:13:48 2019 +0000 @@ -86,11 +86,23 @@ } void endgame() { - - while ( pad.check_event(Gamepad::START_PRESSED) == false) { - lcd.clear(); - lcd.printString("Eternity Stone",0,1); + lcd.clear(); + lcd.printString("Endgame",12,1); lcd.refresh(); - wait(0.1); + pad.tone(587.3,0.9); + pad.tone(0.0,0.1); + pad.tone(587.3,0.9); + pad.tone(0.0,0.1); + pad.tone(587.3,0.9); + pad.tone(0.0,0.1); + pad.tone(698.5,0.6); + pad.tone(659.3,0.3); + pad.tone(0.0,0.1); + pad.tone(659.3,0.6); + pad.tone(587.3,0.3); + pad.tone(0.0,0.1); + pad.tone(554.4,0.6); + pad.tone(587.3,0.3); + wait(0.1); } } \ No newline at end of file