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: Skateboarder/Stakeboarder.cpp
- Revision:
- 14:9861fe85c803
- Parent:
- 10:8bf3713d9e9c
- Child:
- 18:304700b5d8f8
--- a/Skateboarder/Stakeboarder.cpp Wed Apr 03 13:42:58 2019 +0000 +++ b/Skateboarder/Stakeboarder.cpp Thu Apr 04 18:19:26 2019 +0000 @@ -130,12 +130,12 @@ float joy_x, int moving_counter, Skate_Direction direction, - float joy_y) { + float joy_y) { _skate_direction = direction; _moving_counter = moving_counter; process_x_variables(joy_x); _x = 40 + 0.4*_moving_counter; - check_duck(joy_y); + check_duck(joy_y); } void Skateboarder::process_x_variables(float joy_x) {