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: X-NUCLEO-IHM05A1
Revision 17:33c94534a440, committed 2019-05-29
- Comitter:
- gidiana
- Date:
- Wed May 29 09:27:21 2019 +0000
- Parent:
- 16:1dc772fba09f
- Commit message:
- ale
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Dec 07 17:40:15 2018 +0000 +++ b/main.cpp Wed May 29 09:27:21 2019 +0000 @@ -92,7 +92,7 @@ //motor->set_max_speed(2000); //motor->set_acceleration(2400); //motor->set_deceleration(2400); - motor->set_max_speed(motor->get_max_speed()<<2); + motor->set_max_speed(motor->get_max_speed()<<2); motor->set_acceleration(motor->get_acceleration()<<2); motor->set_deceleration(motor->get_deceleration()<<2); printf(" init\n\r"); @@ -133,8 +133,6 @@ } } - - /* Waiting while the motor is active. */ motor->wait_while_active();