Jorick Leferink
/
EMGStdevV4
emg eind code
Fork of EMGStdevV3 by
Diff: main.cpp
- Revision:
- 4:117c0bb09513
- Parent:
- 3:e609cd999fd2
- Child:
- 5:7644d6b16ceb
diff -r e609cd999fd2 -r 117c0bb09513 main.cpp --- 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;