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: main.cpp
- Revision:
- 7:a1a6bff238c1
- Parent:
- 6:3e50f2cf4366
- Child:
- 8:7b7e1a5b8200
- Child:
- 9:a81db6a703b7
--- a/main.cpp Thu Apr 18 09:31:52 2019 +0000
+++ b/main.cpp Thu Apr 18 13:04:37 2019 +0000
@@ -42,7 +42,8 @@
f= pad1.get_mag();
printf("MAG %f \n",f);
int lol=bat.get_hitBall();
- ball.start(lcd,lol);
+
+ ball.start(lcd,lol,pad1.get_direction());
draw();
wait(1.0f/fps);
}