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
Fork of speed_control by
Revision 1:68ca288dd6b5, committed 2015-09-23
- Comitter:
- bjornnijhuis
- Date:
- Wed Sep 23 08:11:54 2015 +0000
- Parent:
- 0:dc1151db1e78
- Commit message:
- Increased wait time
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r dc1151db1e78 -r 68ca288dd6b5 main.cpp --- a/main.cpp Wed Sep 23 08:07:01 2015 +0000 +++ b/main.cpp Wed Sep 23 08:11:54 2015 +0000 @@ -16,7 +16,7 @@ for(int i = 0; i<10; i++) { duty_cycle = 0.1*i; motor_pwm.write(duty_cycle); - wait(0.2); + wait(3); } duty_cycle = 0; motor_pwm.write(duty_cycle);