変な加速

Dependencies:   T_motor

Revision:
1:d0b60b54e3bd
Parent:
0:29872002539b
--- a/P_motor.h	Fri Oct 20 09:56:12 2017 +0000
+++ b/P_motor.h	Wed Oct 25 09:29:53 2017 +0000
@@ -15,7 +15,6 @@
     double time_old;
     double RC, LC;
     void compute();
-    void calc();
     void timer_reset();
     void output_reset(double value = 0);
     enum status
@@ -28,6 +27,7 @@
   public:
     P_motor(I2C *i2c_, char addr_);
     P_motor& operator=(double target_);
+    void direct_controll(double target_);
     void run();
     void free();
     void stop();