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: Nucleo_spi 2015_denziben_i2c_S2 Nucleo_Motor Nucleo_Motor
Fork of PID by
Diff: PID.h
- Revision:
- 2:14176355508a
- Parent:
- 1:aac6180820a4
- Child:
- 3:34f4f22b18e7
--- a/PID.h Fri Jun 19 06:36:10 2015 +0000
+++ b/PID.h Tue Jul 21 08:12:24 2015 +0000
@@ -9,8 +9,8 @@
PID(float tauKc, float tauKi, float tauKd);
- void PIDctrl(void);
- void start();
+ double s_dErrIntg ,dErr_prev;
+ void Start();
void setInterval(double inter);
//Getters.
void stop();
@@ -24,6 +24,7 @@
Timer timer;
Ticker T;
float interval;
+ void PIDctrl();
};
