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 mbed-dsp mbed
Fork of Project5-filtering2 by
Diff: main.cpp
- Revision:
- 17:969e8c86dc7a
- Parent:
- 16:40d61297a7e1
- Child:
- 18:2523eba53f16
--- a/main.cpp Thu Oct 16 12:31:01 2014 +0000 +++ b/main.cpp Thu Oct 16 12:43:31 2014 +0000 @@ -20,17 +20,17 @@ arm_biquad_casd_df1_inst_f32 notch; //constants for 50Hz notch -float notch_const[] = {0.9695312529087462, -0.0, 0.9695312529087462, 1, -0.0, 0.9390625058174924}; +float notch_const[] = {0.9695312529087462, -0.0, 0.9695312529087462, -0.0, 0.9390625058174924}; //state values float notch_states[4]; //arm_biquad_casd_df1_inst_f32 highpass; //constants for 5Hz highpass -//float highpass_const[] = {0.8948577513857248, -1.7897155027714495, 0.8948577513857248, 1, -1.7786300789392977, 0.8008009266036016}; +//float highpass_const[] = {0.8948577513857248, -1.7897155027714495, 0.8948577513857248, -1.7786300789392977, 0.8008009266036016}; //state values //float highpass_states[4]; //constants for 80Hz lowpass //arm_biquad_casd_df1_inst_f32 lowpass; -//float lowpass_const[] = {0.6389437261127493, 1.2778874522254986, 0.6389437261127493, 1, 1.1429772843080919, 0.41279762014290533}; +//float lowpass_const[] = {0.6389437261127493, 1.2778874522254986, 0.6389437261127493, 1.1429772843080919, 0.41279762014290533}; //state values //float lowpass_states[4];