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 26:d73e33ca524d, committed 2014-10-16
- Comitter:
- DominiqueC
- Date:
- Thu Oct 16 19:14:37 2014 +0000
- Parent:
- 25:a84afc4598fe
- Child:
- 27:2ccef1104c16
- Commit message:
- notch en 20 hz highpass werkend!
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Oct 16 19:14:06 2014 +0000
+++ b/main.cpp Thu Oct 16 19:14:37 2014 +0000
@@ -24,9 +24,7 @@
//state values
float notch_states[4];
arm_biquad_casd_df1_inst_f32 highpass;
-//constants for 5Hz highpass
-//5float highpass_const[] = {0.8948577513857248, -1.7897155027714495, 0.8948577513857248, 1.7786300789392977, -0.8008009266036016};
-//40float highpass_const[] = {0.39133577250176865, -0.7826715400353731, 0.39133577250176865, 0.36952737735124147, -0.19581571265583314};
+//constants for 20Hz highpass
float highpass_const[] = {0.638945525159022, -1.277891050318045, 0.638945525159022, 1.142980502539901, -0.412801598096189};
//state values
float highpass_states[4];
