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 biquadFilter mbed
Fork of EMG_filtering by
Diff: main.cpp
- Revision:
- 31:07d5b1e9d7a5
- Parent:
- 29:33fa1d1f1282
- Child:
- 32:96d4a811ae32
--- a/main.cpp Tue Oct 25 07:58:57 2016 +0000
+++ b/main.cpp Tue Oct 25 08:01:16 2016 +0000
@@ -5,7 +5,6 @@
#include <string.h>
//Define objects
-
InterruptIn button_calibrate(PTA4);
AnalogIn emg1( A0 );
AnalogIn emg2( A1 );
@@ -42,7 +41,7 @@
BiQuadChain bqc31;
BiQuadChain bqc33;
//BiQuad bq11( 9.87589e-01, -1.59795e+00, 9.87589e-01, -1.59795e+00, 9.75178e-01 ); //oude BiQuad waardes
-/* BiQuads for filter emg1
+/* BiQuads for filter emg1 [newest filter]
notch filter*/
BiQuad bq111(0.9815, -1.5882, 0.9815, 1.0000, -1.5882, 0.9630);
BiQuad bq112(0.9850, -1.5940, 0.9850, 1.0000, -1.5833, 0.9809);
