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

Files at this revision

API Documentation at this revision

Comitter:
Tanja2211
Date:
Thu Oct 30 14:13:24 2014 +0000
Parent:
2:455216d1b5ba
Child:
4:68dc27d284f7
Commit message:
absoluut

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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");
     }