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.
Diff: Ball/Ball.h
- Revision:
- 17:5104ecef5bd0
- Parent:
- 13:e5a36fbd48ae
- Child:
- 23:61fa82f76808
--- a/Ball/Ball.h Mon Apr 15 08:14:13 2019 +0000
+++ b/Ball/Ball.h Mon Apr 15 13:28:30 2019 +0000
@@ -16,7 +16,8 @@
~Ball();
//methods for engine
void init(int radius);
- void update(FXOS8700CQ &accelerometer);
+ void read_input(FXOS8700CQ &accelerometer);
+ void update();
void draw(N5110 &lcd);
//accessor methods
Vector2D get_velocity();