final

Dependencies:   Encoder HIDScope MODSERIAL TouchButton mbed-dsp mbed

Fork of Robot1_11 by BMT M9 Groep01

Revision:
19:0754c9563e01
Parent:
18:1e40778ad1aa
Child:
20:99a8e9da2d6d
--- a/main.cpp	Fri Oct 31 11:09:37 2014 +0000
+++ b/main.cpp	Fri Oct 31 11:10:47 2014 +0000
@@ -661,12 +661,12 @@
         motordir1 = 1;
         pc.printf("SLAAN\n");
         
-    if (toestand == TERUGKEREN) {
+    /*if (toestand == TERUGKEREN) {
         new_pwm = pid(setspeed, motor1.getSpeed(),false); 
         pwm_motor1.write(new_pwm);
         motordir1 = 0;
         pc.printf("motor gaat terugkeren\n\r");
-        pc.printf("new pwm %f\r\n",new_pwm);
+        pc.printf("new pwm %f\r\n",new_pwm);*/
     }
     
 }