ELEC2645 (2018/19) / Mbed 2 deprecated henririgby98

Dependencies:   mbed

Revision:
5:0da65740cd5e
Parent:
4:d744920089ea
Child:
6:e7ac87a41840
--- a/main.cpp	Sun May 05 13:53:39 2019 +0000
+++ b/main.cpp	Wed May 08 10:08:05 2019 +0000
@@ -5,8 +5,8 @@
 #include "SpaceRebEngine.h"
 
 
-#define SPACEINVADER_WIDTH 2
-#define SPACEINVADER_HEIGHT 8
+#define SPACEINVADER_WIDTH 8
+#define SPACEINVADER_HEIGHT 11
 #define MISSILES_SIZE 2
 #define MISSILES_SPEED 3
 
@@ -29,6 +29,7 @@
 ///////////// functions ////////////////
 int main()
 {
+    int time =0;
     int fps = 8;  // frames per second
 
     init();     // initialise and then display welcome screen...
@@ -71,8 +72,9 @@
 // simple splash screen displayed on start-up
 void welcome() {
     
-    lcd.printString("     Space Rebellion!    ",0,1);  
-    lcd.printString("  Press Start ",0,4);
+    lcd.printString("    Space    ",0,1);
+    lcd.printString("  Rebellion! ",0,2);
+    lcd.printString("Press Start...",0,4);
     lcd.refresh();
      
     // wait flashing LEDs until start button is pressed