Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: Bat/Bat.cpp
- 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