alles in elkaar met de mooie manier van de regelaar

Dependencies:   Encoder HIDScope MODSERIAL TouchButton mbed-dsp mbed

Fork of Robot2mooiemanier by BMT M9 Groep01

Revision:
30:488e24ed1cb1
Parent:
29:9dea548d6d6c
Child:
31:f26796cca47f
--- a/main.cpp	Sat Nov 01 12:33:16 2014 +0000
+++ b/main.cpp	Sat Nov 01 13:12:52 2014 +0000
@@ -713,7 +713,7 @@
     }
     if (toestand == TERUGKEREN) {
         new_pwm = pid(setspeed, motor1.getSpeed(),false);
-        pwm_motor1.write(0.3);
+        pwm_motor1.write(0.2);
         motordir1 = 0;
 
         pc.printf("motor2.getPosition %d\r\n", motor2.getPosition());