Skip to content

Commit 736b2b8

Browse files
committed
Resolves #68
1 parent 02b5709 commit 736b2b8

3 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.5",
3+
"version": "3.1.6",
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.5
2+
version=3.1.6
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: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**********************************************************************************
2-
QuickPID Library for Arduino - Version 3.1.5
2+
QuickPID Library for Arduino - Version 3.1.6
33
by dlloydev https://github.com/Dlloydev/QuickPID
44
Based on the Arduino PID_v1 Library. Licensed under the MIT License.
55
**********************************************************************************/
@@ -55,7 +55,10 @@ QuickPID::QuickPID(float* Input, float* Output, float* Setpoint,
5555
Simplified constructor which uses defaults for remaining parameters.
5656
**********************************************************************************/
5757
QuickPID::QuickPID(float* Input, float* Output, float* Setpoint)
58-
: QuickPID::QuickPID(Input, Output, Setpoint, dispKp, dispKi, dispKd,
58+
: QuickPID::QuickPID(Input, Output, Setpoint,
59+
dispKp = 0,
60+
dispKi = 0,
61+
dispKd = 0,
5962
pmode = pMode::pOnError,
6063
dmode = dMode::dOnMeas,
6164
iawmode = iAwMode::iAwCondition,

0 commit comments

Comments
 (0)