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:
- 42:d81c008b0436
- Parent:
- 41:0cf320f73424
- Child:
- 44:e29458976114
--- a/main.cpp Tue Apr 16 02:01:53 2019 +0000
+++ b/main.cpp Tue Apr 16 18:18:44 2019 +0000
@@ -1,10 +1,19 @@
+/*
+ELEC2645 Embedded Systems Project
+School of Electronic & Electrical Engineering
+University of Leeds
+Name: Andrew Milner
+Username: el17arm
+Student ID Number: 201162219
+Date: 18/03/19
+*/
+
+
#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
#include "Gameengine.h"
-#include "Level1.h"
-Level1 l1;
Gameengine game;
Gamepad pad;
N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11);
@@ -48,7 +57,7 @@
lcd.refresh();
lcd.setBrightness(1.0);
pad.init();
- //pad.leds_off();
+ pad.leds_off();
contrast();
game.game_init();
}