contains my game for the embedded systems project 2645
Dependencies: mbed FXOS8700CQQQ
Diff: main.cpp
- Revision:
- 26:35714debc45f
- Parent:
- 25:7e3b6df93dd5
- Child:
- 27:771d186b1bc8
--- a/main.cpp Sat Apr 20 16:13:13 2019 +0000 +++ b/main.cpp Sat Apr 20 21:23:33 2019 +0000 @@ -1,6 +1,6 @@ #include "RocketRacer.h" #include "Menus.h" - +#include "tests.h" // objects @@ -20,6 +20,10 @@ * @brief initializing the Menus object */ Menus menus; +/** + * @brief initializing the tests object + */ +tests test; // prototypes /** @@ -55,6 +59,14 @@ setup(); +// test.test_welcomeMenu(pad,lcd); +// test.test_PlayMelody(pad); +// test.test_drawMenu(lcd, pad); +// test.test_credits_page(lcd,pad); +// test.test_loading_menu(lcd); +// test.test_InstructionsMenu(pad,lcd); +// test.test_Game_Loop(pad,lcd); + menus.welcomeMenu(pad,lcd); menus.loading_menu(lcd); pad.leds_off(); @@ -63,7 +75,7 @@ menus.drawMenu(lcd,pad); } - + }