bio robot

Dependencies:   MPU6050-DMP QEI_hw mbed-rpc mbed

Fork of MPU6050_Example by Shundo Kishi

Revision:
17:8a0e647cf551
Parent:
11:711d3c207e8c
Child:
18:0cfe72d8a006
--- a/Escon/Motor.h	Thu Dec 10 10:55:35 2015 +0000
+++ b/Escon/Motor.h	Fri Dec 11 00:44:45 2015 +0000
@@ -18,7 +18,7 @@
     
         Motor(): motorEN(p25), motorPWM(p26), motorCurrent(p20), encoder(QEI_DIRINV_NONE, QEI_SIGNALMODE_QUAD, QEI_CAPMODE_4X, QEI_INVINX_NONE)
         {
-            _maxCurrent = 10;
+            _maxCurrent = 15;
             _pwmSlope = -(0.9 - 0.1) / (_maxCurrent + _maxCurrent);   // slope for desired current to PWM
             
             motorPWM.period_us(200);     // set motor PWM 5kHz (this is max val)