template for students for mirror actuator

Dependencies:   FastPWM

Revision:
1:a7fc1afe0575
Parent:
0:d2e117716219
Child:
2:c4c4cc1bff45
--- a/Lib_Cntrl/PID_Cntrl.h	Sun May 02 19:32:30 2021 +0000
+++ b/Lib_Cntrl/PID_Cntrl.h	Mon May 17 12:03:40 2021 +0000
@@ -18,9 +18,12 @@
     void    reset(float initValue);
     void    setCoefficients(float P, float I, float D, float tau_f, float Ts, float uMin, float uMax);
     float   update(float e);
+    float   saturate(float);
+
 
 private:
-
+    float P,I,D,tau_f,Ts,uMax,uMin;
+    float Ipart;
 
 };