ELEC2645 (2017/18) / Mbed 2 deprecated el17yw

Dependencies:   mbed

Revision:
6:46d0caedf217
Parent:
5:0a116644cce2
Child:
7:1964f649676e
--- a/boom/boom.cpp	Mon Apr 16 09:57:57 2018 +0000
+++ b/boom/boom.cpp	Tue Apr 17 20:53:43 2018 +0000
@@ -22,13 +22,13 @@
 
 void boom::draw(N5110 &lcd)
 {
-     lcd.drawCircle(boom_x,boom_y,3,FILL_TRANSPARENT);
+     lcd.drawCircle(boom_x,boom_y,2,FILL_TRANSPARENT);
   
 }
 
 void boom::update()
 {
-    boom_speed = rand()%5;
+    boom_speed = 3;
     boom_y+= boom_speed; 
 
     // check the y origin to ensure that the paddle doesn't go off screen