PID
PID.h
- Committer:
- ckalintra
- Date:
- 2018-05-16
- Revision:
- 0:3d03a93d9671
File content as of revision 0:3d03a93d9671:
#ifndef PID_H #define PID_H #include "mbed.h" extern Serial pc; class PID { protected: public: /*x = error output = PID output time = time since last pid is run //integral = sum of all previous error */ void control(float x, float *output, float time, float integral); }; #endif