Alles bij elkaar

Dependencies:   Encoder HIDScope MODSERIAL TouchButton mbed-dsp mbed

Revision:
3:68b364036bc8
Parent:
2:455216d1b5ba
Child:
4:68dc27d284f7
--- 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");
     }