aansturing van twee motoren met behulp van potmeters

Dependencies:   Encoder biquadFilter mbed

Fork of potmeter_test by Silver Eagle

Revision:
3:e1b081265e97
Parent:
2:3835d7ff7600
--- 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