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 P5-2 by
Revision 3:9d5879b64f3c, committed 2014-10-09
- Comitter:
- Daanmk
- Date:
- Thu Oct 09 13:22:25 2014 +0000
- Parent:
- 2:d2b4ba7ce030
- Child:
- 4:c8ec56d87a5b
- Commit message:
- werkend high pass filter 5 HZ;
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Oct 09 12:41:11 2014 +0000
+++ b/main.cpp Thu Oct 09 13:22:25 2014 +0000
@@ -24,8 +24,8 @@
//state values
float lowpass_states[4];
arm_biquad_casd_df1_inst_f32 highpass;
-//constants for 30Hz highpass
-float highpass_const[] = {1.0, -1.721118336253692, 0.721118336253692, 1.0, -0.807313721035803, 0.263720649619515};
+//constants for 5Hz highpass
+float highpass_const[] = {0.8948577513857248, -1.7897155027714495, 0.8948577513857248, 0.8008009266036016};
//state values
float highpass_states[4];
