FSG / Controller_

Dependents:   7_20_17_FSG_ 7_21_17_FSG 7_26_17_FSG

Fork of Controller by Melissa Davis

Revision:
2:5655b65e3a86
Parent:
1:1cc8a8347f22
Child:
3:c381d9b58867
--- a/controller.cpp	Fri Jun 09 17:32:04 2017 +0000
+++ b/controller.cpp	Fri Jun 30 18:32:29 2017 +0000
@@ -35,7 +35,7 @@
 void PositionController::writeSetPoint(float cmd)
 {
     //33mm and 400mm are the safe allowable limits that the piston can go to
-    _setPoint = clamp<float>(cmd, 50.0, 440.0); //changed 400 to 500 on 6/5/17 //33 to 50
+    _setPoint = clamp<float>(cmd, 50.0, 500.0); //changed 400 to 500 on 6/5/17 //33 to 50
 }
 
 float PositionController::getOutput()