emg

Dependencies:   HIDScope MODSERIAL mbed-dsp mbed TouchButton

Fork of test by BMT M9 Groep01

Files at this revision

API Documentation at this revision

Comitter:
s1340735
Date:
Fri Oct 24 07:24:19 2014 +0000
Parent:
12:d3c69e41b1a8
Child:
14:bebdb2ac5ec6
Commit message:
b1 en b2 negatief

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Oct 24 07:23:18 2014 +0000
+++ b/main.cpp	Fri Oct 24 07:24:19 2014 +0000
@@ -33,13 +33,13 @@
 arm_biquad_casd_df1_inst_f32 lowpassT;
 arm_biquad_casd_df1_inst_f32 lowpassB;
 //constants for 50Hz lowpass
-float lowpass_const[] = {0.2928920553, 0.5857841107, 0.2928920554, 0, 0.17156822136};//{a0 a1 a2 -b1 -b2} van online calculator
+float lowpass_const[] = {0.2928920553, 0.5857841107, 0.2928920554, 0, 0.17156822136};//{a0 a1 a2 --b1 --b2} van online calculator
 float lowpass_states[4];
 
 arm_biquad_casd_df1_inst_f32 highpassT;
 arm_biquad_casd_df1_inst_f32 highpassB;
 //constants for 10Hz highpass
-float highpass_const[] = {0.8005910267, -1.6011820533, 0.8005910267, 1.5610153913, 0.6413487154};//{a0 a1 a2 -b1 -b2}
+float highpass_const[] = {0.8005910267, -1.6011820533, 0.8005910267, -1.5610153913, 0.6413487154};//{a0 a1 a2 --b1 --b2}
 float highpass_states[4];