From a6cd1285a89f607cccca7ba5441fbc8b8b02a5bb Mon Sep 17 00:00:00 2001 From: Dlloydev Date: Fri, 21 Jan 2022 14:45:56 -0500 Subject: [PATCH] Update - [Fix bug in overload constructor](https://github.com/Dlloydev/QuickPID/commit/d096e6d60d7215268f470c566fa55b1782686784) Thank you @guilhermgonzaga - Updated [PID_RelayOutput.ino](https://github.com/Dlloydev/QuickPID/blob/master/examples/PID_RelayOutput/PID_RelayOutput.ino) example where now the PID compute rate controls the rate of updating the digital output (thanks to suggestion by @SinisterRj). Other features include debouncing all transitions, full window range control and only one call to digitalWrite() per transition. Use with controlling mechanical relays, SSRs, MOSFETs or other devices. --- README.md | 2 +- keywords.txt | 3 --- library.json | 2 +- library.properties | 2 +- src/QuickPID.cpp | 2 +- 5 files changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4237acb..136d41d 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ void SetDerivativeMode(dMode dMode); // Set the dTerm, based error or void SetAntiWindupMode(iAwMode iAwMode); // Set iTerm anti-windup to iAwCondition, iAwClamp or iAwOff ``` -### Need Autotune? +### Autotuner #### Get [sTune](https://github.com/Dlloydev/sTune) [![arduino-library-badge](https://www.ardu-badge.com/badge/sTune.svg?)](https://www.ardu-badge.com/sTune) [![PlatformIO Registry](https://badges.registry.platformio.org/packages/dlloydev/library/sTune.svg)](https://registry.platformio.org/packages/libraries/dlloydev/sTune) diff --git a/keywords.txt b/keywords.txt index 01d619f..b9d0871 100644 --- a/keywords.txt +++ b/keywords.txt @@ -33,9 +33,6 @@ GetDirection KEYWORD2 GetPmode KEYWORD2 GetDmode KEYWORD2 GetAwMode KEYWORD2 -analogWrite KEYWORD2 -analogWriteFrequency KEYWORD2 -analogWriteResolution KEYWORD2 ########################################## # Constants (LITERAL1) diff --git a/library.json b/library.json index 7221c10..23b664c 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "QuickPID", - "version": "3.1.0", + "version": "3.1.1", "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": diff --git a/library.properties b/library.properties index 5239c9a..dff7f03 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=QuickPID -version=3.1.0 +version=3.1.1 author=David Lloyd maintainer=David Lloyd sentence=A fast PID controller with multiple options. Various Integral anti-windup, Proportional and Derivative control modes. diff --git a/src/QuickPID.cpp b/src/QuickPID.cpp index b218f1e..1c38bed 100644 --- a/src/QuickPID.cpp +++ b/src/QuickPID.cpp @@ -1,5 +1,5 @@ /********************************************************************************** - QuickPID Library for Arduino - Version 3.1.0 + QuickPID Library for Arduino - Version 3.1.1 by dlloydev https://github.com/Dlloydev/QuickPID Based on the Arduino PID_v1 Library. Licensed under the MIT License. **********************************************************************************/