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:
- 1:63db7ec60700
- Parent:
- 0:39232bb909bf
- Child:
- 3:5d860d0d589e
diff -r 39232bb909bf -r 63db7ec60700 main.cpp
--- a/main.cpp Mon Mar 11 09:26:07 2019 +0000
+++ b/main.cpp Mon Mar 25 10:56:27 2019 +0000
@@ -1,9 +1,23 @@
-/*
-ELEC2645 Embedded Systems Project
-School of Electronic & Electrical Engineering
-University of Leeds
-Name: CAIWENJING LIU
-Username: ml16c5l
-Student ID Number: 201165261
-Date: 11/03/2019
-*/
\ No newline at end of file
+/*
+ELEC2645 Embedded Systems Project
+School of Electronic & Electrical Engineering
+University of Leeds
+Name:
+Username:
+Student ID Number:
+Date:
+*/
+
+#include "mbed.h"
+#include "Gamepad.h"
+#include "N5110.h"
+
+
+/////////////// structs /////////////////
+struct UserInput {
+ Direction d;
+ float mag;
+};
+/////////////// objects ///////////////
+N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11);
+Gamepad pad;
\ No newline at end of file