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.
Diff: pid.h
- Revision:
- 6:95722ada4706
- Parent:
- 5:0975b797bf54
- Child:
- 8:1ce513eff545
--- a/pid.h Fri Dec 04 05:19:10 2015 +0000 +++ b/pid.h Fri Dec 04 05:29:11 2015 +0000 @@ -56,7 +56,9 @@ float getR(); float total(); void adjust(float xSpeed,float ySpeed,float k1, float k2); - + void setErr(); + + private: float error; float ki;