ELEC2645 (2017/18) / Mbed 2 deprecated el17yw

Dependencies:   mbed

Revision:
14:a4176da69b49
Parent:
13:7ad2072d63ac
Child:
15:0a55e0ac8421
--- a/rec/rect.cpp	Mon Apr 23 21:41:13 2018 +0000
+++ b/rec/rect.cpp	Mon Apr 23 22:18:33 2018 +0000
@@ -12,7 +12,7 @@
 void rect::init(int x,int y)
 {
     //set the rect move speed
-    rect_speed = 1;  // default speed
+    rect_speed = 0.5;  // default speed
 }
 
 void rect::draw(N5110 &lcd)