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:
- 7:1964f649676e
- Parent:
- 6:46d0caedf217
- Child:
- 8:4a5e96ed2347
--- a/main.cpp Tue Apr 17 20:53:43 2018 +0000 +++ b/main.cpp Tue Apr 17 23:03:03 2018 +0000 @@ -45,7 +45,7 @@ void init() { - // need to initialise LCD and Gamepad + //initialise LCD and Gamepad lcd.init(); pad.init(); @@ -57,7 +57,7 @@ lcd.printString(" Press Start ",0,4); lcd.refresh(); - // wait flashing LEDs until start button is pressed + //LEDs keep flashing until start button is pressed while ( pad.check_event(Gamepad::START_PRESSED) == false) { pad.leds_on(); wait(0.1);