ELEC2645 (2018/19) / Mbed 2 deprecated el17cd

Dependencies:   mbed

Revision:
10:07a23afd5088
Parent:
9:5915fc800824
Child:
11:2cd6341136ca
--- a/Rasturizer/Rasturizer.cpp	Tue Mar 19 10:27:37 2019 +0000
+++ b/Rasturizer/Rasturizer.cpp	Tue Mar 19 12:12:52 2019 +0000
@@ -17,12 +17,12 @@
     }
     
     if (points[0][2] > 20 || points[1][2] > 20 || points[2][2] > 20|| points[3][2] > 20){
+        
         int diffX1 = points[0][0]-points[1][0];
         int diffY1 = points[0][1]-points[1][1];
         int diffX2 = points[2][0]-points[3][0];
         int diffY2 = points[2][1]-points[3][1];
         
-        lcd.printString("bottom",0,0);
         double step = (double)diffY2/(double)diffX2;
         double stepSmall1 = (double)diffX1/(double)diffX2;
         double stepSmall2 = (double)diffY1/(double)diffX2;