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: Doodler/Doodler.cpp
- Revision:
- 17:74de8c17ddac
- Parent:
- 16:e0542761fc8c
- Child:
- 18:9f40a2f8c2c5
--- a/Doodler/Doodler.cpp Wed Apr 24 10:33:39 2019 +0000 +++ b/Doodler/Doodler.cpp Wed Apr 24 10:37:47 2019 +0000 @@ -29,7 +29,7 @@ lcd.drawCircle(_position_x, _position_y, _radius, FILL_BLACK); } -void Doodler::update(Direction d, float mag, bool button_Y){ +void Doodler::update(Direction d, float mag){ // 5 frames times the magnitude of the joystick (int holds that value) _velocity_x = int(mag*5.0f); if (d == W || d == NW || d == SW){ // if direction is left (at an angle or not)