ec

Dependents:   F3RC

Fork of EC by ROBOSTEP_LIBRARY

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