ELEC2645 (2018/19) / Mbed 2 deprecated 2645_Project_SiutingWong201186503

Dependencies:   mbed

Revision:
15:749c595b19e2
Parent:
13:c3c58d50a571
diff -r 13e82f720bea -r 749c595b19e2 main.cpp
--- a/main.cpp	Thu May 09 06:19:58 2019 +0000
+++ b/main.cpp	Thu May 09 07:53:59 2019 +0000
@@ -1,12 +1,3 @@
-/*
-ELEC2645 Embedded Systems Project
-School of Electronic & Electrical Engineering
-University of Leeds
-Name: Siuting Wong
-Username: Siuting Wong
-Student ID Number: 201186503
-Date: 06/05/2019
-*/
 ///////// pre-processor directives ////////
 #include "mbed.h"
 #include "Gamepad.h"
@@ -186,7 +177,6 @@
 }
 
 void init() {
-    
     // need to initialise LCD and Gamepad 
     lcd.init();
     pad.init();
@@ -260,6 +250,7 @@
         lcd.refresh();
         wait(0.5);
     }
+    
     lcd.clear(); // background story
     lcd.printString("You are a",12,0);
     lcd.printString("member of",15,1);
@@ -273,6 +264,7 @@
         lcd.refresh();
         wait(0.5);
     }
+    
     while (pad.check_event(Gamepad::START_PRESSED) == false) { // tutorial with animation
         lcd.clear();
         lcd.printString("Use your",18,0);
@@ -441,5 +433,4 @@
         lcd.refresh();
         wait(0.5);
     }
-        
 }
\ No newline at end of file