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 50:650e8e45b870, committed 2014-10-20
- Comitter:
- Tanja2211
- Date:
- Mon Oct 20 08:42:09 2014 +0000
- Parent:
- 49:b103e9ed5ef2
- Child:
- 51:809e38348c91
- Commit message:
- }
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:41:32 2014 +0000
+++ b/EMGfilter.cpp Mon Oct 20 08:42:09 2014 +0000
@@ -144,7 +144,7 @@
// Moving Average Filter Triceps
float T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, MOVAVG_T;
-
+{
T0=filtered_emgT;
MOVAVG_T=T0*0.1+T1*0.1+T2*0.1+T3*0.1+T4*0.1+T5*0.1+T6*0.1+T7*0.1+T8*0.1+T9*0.1;
@@ -159,6 +159,7 @@
T1=T0;
}
+}
int main()
