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:
- 21:20478f086bc2
- Parent:
- 12:ebaefda53dd0
- Child:
- 26:4253656c0755
--- a/main.cpp Tue Apr 16 19:19:43 2019 +0000 +++ b/main.cpp Sat Apr 20 14:46:50 2019 +0000 @@ -8,24 +8,20 @@ #include "N5110.h" #include "Gamepad.h" -#include "EngineController.h" #include "mbed.h" #include "Menu.h" N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11); Gamepad gamepad; Menu menu; -//EngineController controller; void init_game(); -void run_game(); int main() { init_game(); while(1) { lcd.clear(); menu.run(lcd, gamepad); - //run_game(); lcd.refresh(); wait(0.01); } @@ -33,15 +29,9 @@ void init_game() { gamepad.init(); - menu.init(); - //controller.init(); + menu.init(); lcd.init(); lcd.setContrast(0.5); lcd.normalMode(); lcd.setBrightness(0.5); -} - -void run_game() { - //controller.run_game_engine(lcd, gamepad); - // menu.run(lcd, gamepad); -} +} \ No newline at end of file