Library with P, PI and PID controller

Dependents:   buttoncontrol includeair includeair Oudverslag

Revision:
7:6e2cd9b0403b
Parent:
6:9addcf4d7af3
Child:
8:3b077fc3d1ec
--- a/controlandadjust.cpp	Thu Oct 08 10:44:53 2015 +0000
+++ b/controlandadjust.cpp	Thu Oct 08 12:10:35 2015 +0000
@@ -2,8 +2,8 @@
 #include "mbed.h"
 #include "QEI.h"
 
-float CW=0;
-float CCW=1;
+float CW=1;
+float CCW=0;
 float direction1;
 float speed1;
 float direction2;