Skip to content

Commit 6adfc2c

Browse files
committed
Update
* Added default constructor
1 parent 7e1d667 commit 6adfc2c

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "QuickPID",
3-
"version": "3.1.3",
3+
"version": "3.1.4",
44
"description": "A fast PID controller with multiple options. Various Integral anti-windup, Proportional, Derivative and timer control modes.",
55
"keywords": "PID, controller, signal, autotune, tuner, stune",
66
"repository":

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=QuickPID
2-
version=3.1.3
2+
version=3.1.4
33
author=David Lloyd
44
maintainer=David Lloyd <dlloydev@testcor.ca>
55
sentence=A fast PID controller with multiple options. Various Integral anti-windup, Proportional and Derivative control modes.

src/QuickPID.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**********************************************************************************
2-
QuickPID Library for Arduino - Version 3.1.3
2+
QuickPID Library for Arduino - Version 3.1.4
33
by dlloydev https://github.com/Dlloydev/QuickPID
44
Based on the Arduino PID_v1 Library. Licensed under the MIT License.
55
**********************************************************************************/
@@ -12,10 +12,13 @@
1212

1313
#include "QuickPID.h"
1414

15+
QuickPID::QuickPID() {}
16+
1517
/* Constructor ********************************************************************
1618
The parameters specified here are those for for which we can't set up
1719
reliable defaults, so we need to have the user set them.
1820
**********************************************************************************/
21+
1922
QuickPID::QuickPID(float* Input, float* Output, float* Setpoint,
2023
float Kp = 0, float Ki = 0, float Kd = 0,
2124
pMode pMode = pMode::pOnError,

src/QuickPID.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class QuickPID {
1515
// commonly used functions ************************************************************************************
1616

1717
// Default constructor
18-
QuickPID() {}
18+
QuickPID();
1919

2020
// Constructor. Links the PID to Input, Output, Setpoint, initial tuning parameters and control modes.
2121
QuickPID(float *Input, float *Output, float *Setpoint, float Kp, float Ki, float Kd,

0 commit comments

Comments
 (0)