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.
Dependencies: HIDScope MODSERIAL mbed-dsp mbed
Fork of emg_filter by
Revision 44:b47f559826ba, committed 2014-10-20
- Comitter:
- Tanja2211
- Date:
- Mon Oct 20 08:16:25 2014 +0000
- Parent:
- 43:229a66c7a6c4
- Child:
- 45:7950fa411107
- Commit message:
- foutjes
Changed in this revision
| EMGfilter.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/EMGfilter.cpp Mon Oct 20 08:10:17 2014 +0000
+++ b/EMGfilter.cpp Mon Oct 20 08:16:25 2014 +0000
@@ -99,6 +99,8 @@
scope.set(0,emg_valueB); //uint value
scope.set(1,filtered_emgB); //processed float
scope.send();
+
+ // Moving Average Filter Biceps
float B0, B1, B2, B3, B4, B5, B6, B7, B8, B9, MOVAVG_B;
{
@@ -117,7 +119,7 @@
}
-
+// Triceps EMG lezen
void looperT() {
/*variable to store value in*/
uint16_t emg_valueT;
@@ -136,6 +138,8 @@
scope.set(2,emg_valueT); //uint value
scope.set(3,filtered_emgT); //processed float
scope.send();
+
+ // Moving Average Filter Triceps
float T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, MOVAVG_T;
@@ -235,3 +239,4 @@
} else {
pc.printf("\n");
}
+ }
