Update to 1.2.2
This commit is contained in:
parent
e776bfa026
commit
aff2e8e688
6
PID_v1.h
6
PID_v1.h
@ -1,6 +1,6 @@
|
|||||||
#ifndef PID_v1_h
|
#ifndef PID_v1_h
|
||||||
#define PID_v1_h
|
#define PID_v1_h
|
||||||
#define LIBRARY_VERSION 1.2.1
|
#define LIBRARY_VERSION 1.2.2
|
||||||
|
|
||||||
class PID2
|
class PID2
|
||||||
{
|
{
|
||||||
@ -17,11 +17,11 @@ class PID2
|
|||||||
#define P_ON_E 1
|
#define P_ON_E 1
|
||||||
|
|
||||||
//commonly used functions **************************************************************************
|
//commonly used functions **************************************************************************
|
||||||
PID(double*, double*, double*, // * constructor. links the PID to the Input, Output, and
|
PID2(double*, double*, double*, // * constructor. links the PID to the Input, Output, and
|
||||||
double, double, double, int, int);// Setpoint. Initial tuning parameters are also set here.
|
double, double, double, int, int);// Setpoint. Initial tuning parameters are also set here.
|
||||||
// (overload for specifying proportional mode)
|
// (overload for specifying proportional mode)
|
||||||
|
|
||||||
PID(double*, double*, double*, // * constructor. links the PID to the Input, Output, and
|
PID2(double*, double*, double*, // * constructor. links the PID to the Input, Output, and
|
||||||
double, double, double, int); // Setpoint. Initial tuning parameters are also set here
|
double, double, double, int); // Setpoint. Initial tuning parameters are also set here
|
||||||
|
|
||||||
void SetMode(int Mode); // * sets PID to either Manual (0) or Auto (non-0)
|
void SetMode(int Mode); // * sets PID to either Manual (0) or Auto (non-0)
|
||||||
|
Loading…
Reference in New Issue
Block a user