Version for EMG Threshold finding

Dependencies:   HIDScope MODSERIAL QEI biquadFilter mbed

Fork of prog_BioRobotics_Group9_StampRobot by Gerhard Berman

Revision:
48:73a5f7f62aec
Parent:
47:13b4a318a3d0
--- a/main.cpp	Mon Nov 07 12:14:16 2016 +0000
+++ b/main.cpp	Mon Nov 07 12:17:35 2016 +0000
@@ -140,7 +140,8 @@
  
 void FilteredSample(int &Tout, double &envelopeLout, double &envelopeRout)
 {   
-//This function reads EMG, filters it and generates a T-switch value which specifies the movement of the robot
+//This function reads EMG, filters it to acquire an EMG envelope and generates a 
+//T-switch value which specifies the movement of the robot
  
     double inLout = emg0.read();
     double inRout = emg1.read();