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:
- 43:500b8cff3715
- Parent:
- 41:e1fa36c0492e
- Child:
- 44:a6a361bea806
diff -r e1fa36c0492e -r 500b8cff3715 main.cpp --- a/main.cpp Wed May 08 09:22:16 2019 +0000 +++ b/main.cpp Wed May 08 15:50:40 2019 +0000 @@ -1,4 +1,7 @@ +#include "main.h" + /* + ELEC2645 Embedded Systems Project School of Electronic & Electrical Engineering University of Leeds @@ -8,28 +11,9 @@ Date: 20/02/2019 */ -//______________pre-processor directives________________________________________ -#include "mbed.h" -#include "N5110.h" -#include "RosenEngine.h" -#include "Menu.h" - -//_______________objects________________________________________________________ -N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11); -Gamepad pad; -RosenEngine rosen; -Menu menu; - -//_______________prototypes_____________________________________________________ -void init(); -void welcome(); -void render(); -void ship_select(); - //_______________functions______________________________________________________ int main() { - int fps = 12; init(); printf("Init function completed...\n");