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
main/main.cpp
- Committer:
- el16a2t
- Date:
- 2018-05-08
- Revision:
- 15:2b98d03e7ab6
- Parent:
- 14:ce231137d2f2
- Child:
- 16:b0fb01fc21f8
File content as of revision 15:2b98d03e7ab6:
/*
ELEC2645 Embedded Systems Project
School of Electronic & Electrical Engineering
University of Leeds
Name: Adam Thompson
Username: el16a2t
Student ID Number: 201047832
Date: 17/4/18
*/
#include "mbed.h"
#include "Gamepad.h"
#include "N5110.h"
#include "sprites.h"
#include "gameEngine.h"
#include "player.h"
N5110 lcd(PTC9, PTC0, PTC7, PTD2, PTD1, PTC11);
Gamepad pad;
gameEngine engine;
int main()
{
engine.init();
engine.startUp();
while (1) {
engine.newGame();
engine.gameOver();
}
}