Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 3:117c0bb09513, committed 2013-11-04
- Comitter:
- DanAuhust
- Date:
- Mon Nov 04 20:10:50 2013 +0000
- Parent:
- 2:e609cd999fd2
- Commit message:
- Nu met alle gains, thresholds en spieren
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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;