Version for EMG Threshold finding

Dependencies:   HIDScope MODSERIAL QEI biquadFilter mbed

Fork of prog_BioRobotics_Group9_StampRobot by Gerhard Berman

Files at this revision

API Documentation at this revision

Comitter:
GerhardBerman
Date:
Mon Nov 07 12:17:35 2016 +0000
Parent:
47:13b4a318a3d0
Commit message:
Some comments changed.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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();