ELEC2645 (2018/19) / Mbed 2 deprecated el17m2h_public

Dependencies:   mbed

Revision:
26:d16a5b1e0ace
Parent:
24:67dc71a8f009
Child:
27:af14fcd5a520
--- a/main.cpp	Wed May 08 15:07:04 2019 +0000
+++ b/main.cpp	Wed May 08 17:24:35 2019 +0000
@@ -13,9 +13,6 @@
 #include "N5110.h" 
 #include "Engine.h"  
 
-#define FLOORS_WIDTH 14
-#define FLOORS_HEIGHT 1
-
 //structs
 struct UserInput {
     Direction d;
@@ -65,7 +62,7 @@
     lcd.setBrightness(1);
     lcd.setContrast(0.5),
     pad.init();
-    eng.init(FLOORS_WIDTH, FLOORS_HEIGHT);
+    eng.init();
 }
 
 void render(){