James Cummins / Mbed 2 deprecated el17jnc

Dependencies:   mbed

Revision:
40:a1cdb6ab08af
Parent:
38:a85bc227b907
--- a/Ball/Ball.cpp	Thu May 09 01:58:36 2019 +0000
+++ b/Ball/Ball.cpp	Thu May 09 10:52:00 2019 +0000
@@ -24,8 +24,6 @@
     Data values = accelerometer.get_values();
     _velocity.x = -(5+_ball_speed)*values.ay;        //axes of the accelerometer are different to orientation of the screen
     _velocity.y = -(5+_ball_speed)*values.ax;        //negative to account for reversed direction
-    /*printf("ax = %f | ay = %f     |        ", values.ax, values.ay);
-    printf("vel.x = %f | vel.y = %f\n", _velocity.x, _velocity.y);*/
 }
 
 void Ball::update(){