components/PID/PID_v1.c

changeset 1
ad2c8b13eb88
parent 0
b74b0e4902c3
child 82
7d17e2cb31a8
equal deleted inserted replaced
0:b74b0e4902c3 1:ad2c8b13eb88
27 double *myInput; // Pointers to the Input, Output, and Setpoint variables 27 double *myInput; // Pointers to the Input, Output, and Setpoint variables
28 double *myOutput; // This creates a hard link between the variables and the 28 double *myOutput; // This creates a hard link between the variables and the
29 double *mySetpoint; // PID, freeing the user from having to constantly tell us 29 double *mySetpoint; // PID, freeing the user from having to constantly tell us
30 // what these values are. with pointers we'll just know. 30 // what these values are. with pointers we'll just know.
31 31
32 unsigned long lastTime; 32 unsigned long lastTime; ///< Last time of the time window.
33 double outputSum, lastInput; 33 double outputSum, lastInput;
34 34
35 unsigned long SampleTime; 35 unsigned long SampleTime;
36 double outMin, outMax; 36 double outMin, outMax;
37 bool inAuto, pOnE; 37 bool inAuto, pOnE;

mercurial