Jasper Gerth / controlandadjust

Dependents:   buttoncontrol includeair includeair Oudverslag

Revision:
14:2b4378bfe07a
Parent:
12:9cec66b450e0
Child:
15:a1a29db96f4f
--- a/controlandadjust.cpp	Fri Oct 09 13:53:18 2015 +0000
+++ b/controlandadjust.cpp	Mon Oct 19 13:44:22 2015 +0000
@@ -23,9 +23,9 @@
 {
     //motor1
     if (signaal1>=0) {//determine CW or CCW rotation
-        direction1=CW;
+        direction1=CCW;
     } else {
-        direction1=CCW;
+        direction1=CW;
     }
 
     if (fabs(signaal1)>=maxvaluepwm) { //check if signal is <1