ELEC2645 (2018/19) / Mbed 2 deprecated el17szs

Dependencies:   mbed

Revision:
22:69d7fe739872
Parent:
21:a0904159e183
--- a/Bat/Bat.cpp	Tue Apr 30 13:17:14 2019 +0000
+++ b/Bat/Bat.cpp	Tue Apr 30 20:36:42 2019 +0000
@@ -29,10 +29,9 @@
 }
 int Bat::get_hitBall(UX &ux){
     _hitBall=ux.get_a_pressed();
-    printf("_hitBall %i \n",_hitBall);
     return _hitBall;
 }
 int Bat::get_loft_ball(UX &ux){
-     _loft_ball=ux.get_a_pressed();
+     _loft_ball=ux.get_l_pressed();
     return _loft_ball;
 }
\ No newline at end of file