aansturing van twee motoren met behulp van potmeters
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 |
--- 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