get set point

Fork of PID by EE192 Team 4

Files at this revision

API Documentation at this revision

Comitter:
vsutardja
Date:
Sun Apr 24 23:58:16 2016 +0000
Parent:
1:f61c47297c2c
Commit message:
getsetpoint;

Changed in this revision

PID.cpp Show annotated file Show diff for this revision Revisions of this file
PID.h Show annotated file Show diff for this revision Revisions of this file
--- a/PID.cpp	Wed Apr 20 21:27:43 2016 +0000
+++ b/PID.cpp	Sun Apr 24 23:58:16 2016 +0000
@@ -323,3 +323,9 @@
     return dParam_;
 
 }
+
+float PID::getSetPoint() {
+    
+    return setPoint_;
+
+}
--- a/PID.h	Wed Apr 20 21:27:43 2016 +0000
+++ b/PID.h	Sun Apr 24 23:58:16 2016 +0000
@@ -163,6 +163,7 @@
     float getPParam();
     float getIParam();
     float getDParam();
+    float getSetPoint();
 
 private: