Library with P, PI and PID controller

Dependents:   buttoncontrol includeair includeair Oudverslag

Revision:
12:9cec66b450e0
Parent:
11:ef8d28e010a2
Child:
14:2b4378bfe07a
--- a/controlandadjust.cpp	Fri Oct 09 13:05:02 2015 +0000
+++ b/controlandadjust.cpp	Fri Oct 09 13:49:53 2015 +0000
@@ -17,7 +17,7 @@
 
 
 
-controlandadjust::controlandadjust(void){}
+controlandadjust::controlandadjust(void) {}
 
 void controlandadjust::verwerksignaal(float signaal1,float signaal2)
 {
@@ -108,4 +108,6 @@
     motor2_speed.write(0);
 }
 void controlandadjust::cutoff(float maxvalue)
-{float maxvaluepwm=maxvalue;}
\ No newline at end of file
+{
+   maxvaluepwm=maxvalue;
+}
\ No newline at end of file