robot

Dependencies:   Encoder HIDScope MODSERIAL TouchButton mbed-dsp mbed

Fork of Robot2false by BMT M9 Groep01

Revision:
3:68b364036bc8
Parent:
2:455216d1b5ba
Child:
4:68dc27d284f7
diff -r 455216d1b5ba -r 68b364036bc8 main.cpp
--- a/main.cpp	Thu Oct 30 14:05:36 2014 +0000
+++ b/main.cpp	Thu Oct 30 14:13:24 2014 +0000
@@ -611,7 +611,7 @@
 void motor1aansturing()
 {
 
-    if (abs(motor1.getPosition())<= ANGLEMIN && toestand != SLAAN) {
+    if (abs(motor1.getPosition())== ANGLEMIN && toestand != SLAAN) {
         toestand = WACHTEN; 
         pc.printf("if1\n");
     }