Skip to content

Commit

Permalink
Resolves #68
Browse files Browse the repository at this point in the history
  • Loading branch information
Dlloydev committed Mar 25, 2023
1 parent 02b5709 commit 736b2b8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "QuickPID",
"version": "3.1.5",
"version": "3.1.6",
"description": "A fast PID controller with multiple options. Various Integral anti-windup, Proportional, Derivative and timer control modes.",
"keywords": "PID, controller, signal, autotune, tuner, stune",
"repository":
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=QuickPID
version=3.1.5
version=3.1.6
author=David Lloyd
maintainer=David Lloyd <dlloydev@testcor.ca>
sentence=A fast PID controller with multiple options. Various Integral anti-windup, Proportional and Derivative control modes.
Expand Down
7 changes: 5 additions & 2 deletions src/QuickPID.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**********************************************************************************
QuickPID Library for Arduino - Version 3.1.5
QuickPID Library for Arduino - Version 3.1.6
by dlloydev https://github.com/Dlloydev/QuickPID
Based on the Arduino PID_v1 Library. Licensed under the MIT License.
**********************************************************************************/
Expand Down Expand Up @@ -55,7 +55,10 @@ QuickPID::QuickPID(float* Input, float* Output, float* Setpoint,
Simplified constructor which uses defaults for remaining parameters.
**********************************************************************************/
QuickPID::QuickPID(float* Input, float* Output, float* Setpoint)
: QuickPID::QuickPID(Input, Output, Setpoint, dispKp, dispKi, dispKd,
: QuickPID::QuickPID(Input, Output, Setpoint,
dispKp = 0,
dispKi = 0,
dispKd = 0,
pmode = pMode::pOnError,
dmode = dMode::dOnMeas,
iawmode = iAwMode::iAwCondition,
Expand Down

0 comments on commit 736b2b8

Please sign in to comment.