Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: 7_20_17_FSG_ 7_21_17_FSG 7_26_17_FSG
Fork of Controller by
Diff: controller.cpp
- 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()