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:
- 20:a3fd428fb4f4
- Parent:
- 19:362ad1cd6d4a
- Child:
- 22:c1e1283c6356
--- a/main.cpp Sat Apr 28 21:59:45 2018 +0000 +++ b/main.cpp Sat Apr 28 23:32:23 2018 +0000 @@ -1,4 +1,4 @@ -#include "mbed.h" + #include "mbed.h" #include "Gamepad.h" #include "N5110.h" #include "rect.h" @@ -18,7 +18,7 @@ Gamepad pad; engine engine; -help help; +help help11; void init(); @@ -29,13 +29,13 @@ int main() { - - - init(); - help.welcome(pad,lcd); - render(); - +init(); +do{ + engine.sb(pad,lcd); + } + while(pad.check_event(Gamepad::START_PRESSED) == false); + while(1){ engine.read_input(pad);