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.
Diff: main.cpp
- Revision:
- 12:1dfc34bc8382
- Parent:
- 11:1c5c549ba75e
diff -r 1c5c549ba75e -r 1dfc34bc8382 main.cpp --- a/main.cpp Tue Apr 30 09:43:56 2019 +0000 +++ b/main.cpp Sun May 05 11:19:38 2019 +0000 @@ -34,6 +34,7 @@ Gamepad pad; DodgeEngine dodge; Instruction instruction; +Direction d; ///////////// prototypes /////////////// void init(); @@ -125,7 +126,9 @@ } void instructions() { + instruction.init(); while (pad.check_event(Gamepad::A_PRESSED) == false) { - instruction.write(lcd, pad); + instruction.write(lcd); + instruction.control(pad); } } \ No newline at end of file