
Game for Leeds University Gamepad for the FRDM-K64F: Game is a RPG Horror Title.
Dependencies: mbed FATFileSystem
main.cpp
- Committer:
- rottenegg
- Date:
- 2019-05-09
- Revision:
- 21:f3b0ce18b44f
- Parent:
- 14:165fff6d1854
- Child:
- 24:7f26feb4666d
File content as of revision 21:f3b0ce18b44f:
/* ELEC2645 Embedded Systems Project School of Electronic & Electrical Engineering University of Leeds Name:Saad Tayyab Username:el17st Student ID Number:201145512 Date: 18/04/2019 */ #include "mbed.h" #include "Game_Manager.h" //Main Constructor to allow easy Pin reassignments Game_Manager GM(PTE3, PTE1, PTE2, PTE4, PTC9,PTC0,PTC7,PTD2,PTD1,PTC11, PTB9,PTB11,PTB10,PTC10,PTD0,PTC5); int main() { if (!GM.boot_error()) { //File Checks GM.menu(); //Splash Screen GM.tutorial(); //Tutorial Screens GM.main(); //Main Game wait(1); NVIC_SystemReset(); //this is really cheeky I know... SOFT RESET } }