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: EC.h
- Revision:
- 9:a919aa92e65e
- Parent:
- 8:833757a1df66
- Child:
- 10:216d5a573dc7
--- a/EC.h Mon Nov 21 06:31:24 2016 +0000
+++ b/EC.h Mon Nov 28 13:01:04 2016 +0000
@@ -190,6 +190,7 @@
double Kv_p,Kv_d,Kv_i;
double diff,diff_old,integral;
double out_duty,out;
+ double now_RPM;
//Serial pc(USBTX,USBRX);
protected:
@@ -279,6 +280,7 @@
double duty;
void ScZ(double target_RPM);
+ void ScZ2(double target_RPM);
void Accelarate(double target_duty);
};
#endif
\ No newline at end of file