![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
emg
Dependencies: HIDScope MODSERIAL mbed-dsp mbed TouchButton
Fork of test by
Diff: main.cpp
- Revision:
- 13:9071a6b3c886
- Parent:
- 12:d3c69e41b1a8
- Child:
- 14:bebdb2ac5ec6
--- 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];