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 23:07db8414fbe6, committed 2014-10-16
- Comitter:
- DominiqueC
- Date:
- Thu Oct 16 19:00:53 2014 +0000
- Parent:
- 22:fe4d9195f6dd
- Child:
- 24:0573e4568e2c
- Commit message:
- notch en 40hz highpass
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Oct 16 18:41:40 2014 +0000
+++ b/main.cpp Thu Oct 16 19:00:53 2014 +0000
@@ -25,7 +25,8 @@
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.7786300789392977, -0.8008009266036016};
+//float highpass_const[] = {0.8948577513857248, -1.7897155027714495, 0.8948577513857248, 1.7786300789392977, -0.8008009266036016};
+float highpass_const[] = {0.39133577250176865, -0.7826715400353731, 0.39133577250176865, 0.36952737735124147, -0.19581571265583314};
//state values
float highpass_states[4];
//constants for 80Hz lowpass
