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: Encoder biquadFilter mbed
Fork of potmeter_test by
Revision 3:e1b081265e97, committed 2015-10-20
- Comitter:
- S1lverEagle
- Date:
- Tue Oct 20 12:01:44 2015 +0000
- Parent:
- 2:3835d7ff7600
- Commit message:
- twee tickers
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 3835d7ff7600 -r e1b081265e97 main.cpp --- a/main.cpp Tue Oct 20 11:58:05 2015 +0000 +++ b/main.cpp Tue Oct 20 12:01:44 2015 +0000 @@ -86,7 +86,9 @@ { pwm_motor1.period(0.0001); pwm_motor2.period(0.0001); - control_ticker.attach(&m1_Controller, &m2_Controller, 0.01); + control_ticker.attach(&m1_Controller, 0.01); + wait(0.005); + control_ticker.attach(&m2_Controller, 0.01); while(1) {} } \ No newline at end of file