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:
- 1:a21d78fa1712
- Parent:
- 0:68c8cf9a1f96
- Child:
- 2:d2b4ba7ce030
--- a/main.cpp Thu Oct 09 12:26:39 2014 +0000 +++ b/main.cpp Thu Oct 09 12:28:47 2014 +0000 @@ -24,8 +24,8 @@ //state values float lowpass_states[4]; arm_biquad_casd_df1_inst_f32 highpass; -//constants for 0.5Hz highpass -float highpass_const[] = {0.97803048, -1.95606096, 0.97803048, 1.95557824 , -0.95654368}; +//constants for 30Hz highpass +float highpass_const[] = {0.5049992667097523, -1.0099985334195045, 0.5049992667097523, -0.7477865686482112, 0.27221049819079784}; //state values float highpass_states[4];