EMG and motor script together, Not fully working yet,.

Dependencies:   Encoder MODSERIAL QEI biquadFilter mbed

Fork of Code_MotorEMG by Joost Herijgers

Revision:
16:d75bf6d7d60e
Parent:
15:46acc9b5decf
Child:
17:0acc8d4b142c
--- a/main.cpp	Wed Nov 01 12:20:14 2017 +0000
+++ b/main.cpp	Wed Nov 01 12:26:20 2017 +0000
@@ -367,7 +367,7 @@
         motorValue1 = 0;
         }
     else {
-    motorValue1 = 0.01*P1(error_o, kpo);
+    motorValue1 = 0.05*P1(error_o, kpo);
     }    
     
     if (motorValue1 >=0) motor1DirectionPin=0;