New PID library with digital anti-windup and process control

Fork of PID_modified by Chun Feng Huang

Revision:
5:016c99bb877f
Parent:
4:e3c9cb64be44
Child:
7:6f0e5de35b48
--- a/PID.h	Wed Oct 26 17:56:01 2016 +0000
+++ b/PID.h	Thu Dec 15 20:13:52 2016 +0000
@@ -11,8 +11,11 @@
         
         // 
         void Compute_noWindUP(float reference_in, float feedbackvalue_in);
+        // Method 1: Separated operation for anti-windup
         void Saturation_output();
         void Anti_windup(float delta); // delta_V = Vs - V
+        // Method 2: Single anti-windup operation
+        void Anti_windup();
         //
            
         void SetOutputLimits(float setoutputLimits_H, float setoutputLimits_L);