emg eind code

Dependencies:   MODSERIAL mbed

Fork of EMGStdevV3 by Dan August

Revision:
4:117c0bb09513
Parent:
3:e609cd999fd2
Child:
5:7644d6b16ceb
--- a/main.cpp	Mon Nov 04 20:09:22 2013 +0000
+++ b/main.cpp	Mon Nov 04 20:10:50 2013 +0000
@@ -295,8 +295,8 @@
     //static int sig_count = 1;
 emg_value_biceps=std_dev(filter(1),1);
 emg_value_triceps=std_dev(filter(2),2);
-/*emg_value_flexoren = (100*filter(3)-44);
-emg_value_extensoren = (100*filter(4)-44);*/
+emg_value_flexoren = std_dev(filter(3),3);
+emg_value_extensoren = std_dev(filter(4),4);
 
     if(emg_value_biceps < 4.5)
         emg_value_biceps=0;