Fertig

Dependencies:   mbed

Fork of RT2_P3_students by TeamSurface

PI_Cntrl.h

Committer:
Kiwicjam
Date:
2018-04-17
Revision:
4:16f47c056c7c
Parent:
1:a30512c3ac73

File content as of revision 4:16f47c056c7c:

#ifndef PI_CNTRL_H_
#define PI_CNTRL_H_


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;
    
    };
    
    
#endif      // PI_CNTRL_H_