Nahuel Manterola / Mbed 2 deprecated EMG_Controller_5

Dependencies:   HIDScope QEI biquadFilter mbed

Fork of EMG_Controller by Pascal van Baardwijk

Revision:
6:6cb7c0247560
Parent:
5:bb77e2a6c1e8
Child:
7:eed677b636d3
--- a/main.cpp	Tue Oct 25 11:13:13 2016 +0000
+++ b/main.cpp	Tue Oct 25 12:07:53 2016 +0000
@@ -76,7 +76,7 @@
     Controller.attach(&Ticker_Flag,1/Frequency);
     pc.baud(9600);
     
-    
+    led.write(1);
     Lift_Input_force =  Potmeter.read();
     Slide_Input_force = Potmeter2.read();
     
@@ -92,7 +92,7 @@
     ServoPWMpin.period(0.01f);                          // 0.01 second period
     
     while (true) {
-        pc.printf("\n\r%f", Norm_EMG_0);
+ //       pc.printf("\n\r%f", Norm_EMG_0);
          
         if (go_emgSample == true){
                 EMG_filter();