Nahuel Manterola / Mbed 2 deprecated EMG_Controller_5

Dependencies:   HIDScope QEI biquadFilter mbed

Fork of EMG_Controller by Pascal van Baardwijk

Revision:
10:25d7600d1e38
Parent:
9:1cb2d5ab51e6
Child:
11:c8b6a2b314c3
--- a/emg.h	Thu Oct 27 11:46:55 2016 +0000
+++ b/emg.h	Thu Oct 27 11:50:16 2016 +0000
@@ -8,7 +8,7 @@
 states state = STATE_DEFAULT;
 
 //Creating two scope channels
-//HIDScope scope(4);
+HIDScope scope(3);
 
 //Notch filter
 BiQuadChain notch_50;
@@ -142,13 +142,9 @@
             Norm_EMG_2 = (emg_low_passed[2] - min_emg[2])/(max_emg[2]-min_emg[2]);
             
             //Send scope data
-            //scope.set(0,emg_sample[0]);
-            //scope.set(1,emg_notch[0]);
-            //scope.set(2,emg_high_passed[0]);
-            //scope.set(3,input_force0);
-            //scope.set(2,emg_low_passed[0]);
-            //scope.set(3,input_force2);
-            //scope.send();
+            scope.set(0,Norm_EMG_0);
+            scope.set(1,Norm_EMG_1);
+            scope.set(2,Norm_EMG_2);
 
             go_emgSample = false;
         }