Fertig

Dependencies:   mbed

Fork of RT2_P3_students by TeamSurface

Revision:
4:16f47c056c7c
Parent:
1:a30512c3ac73
--- a/PI_Cntrl.h	Mon Apr 09 08:01:29 2018 +0000
+++ b/PI_Cntrl.h	Tue Apr 17 12:03:20 2018 +0000
@@ -4,13 +4,18 @@
 
 class PI_Cntrl{
      public:
-
+        PI_Cntrl(float Kp, float Tn);
+        ~PI_Cntrl();
+        void reset(float initValue);
+        float doStep(float error);
 // ....    
 
 
     private:
     
     // ....
+    float Kp;
+    float Tn;
     
     };