Orcun Colak / Mbed 2 deprecated Coof_filter

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
Cuunii
Date:
Mon Oct 26 10:58:50 2015 +0000
Commit message:
Coof Fliter

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r 94702ec1a691 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Oct 26 10:58:50 2015 +0000
@@ -0,0 +1,36 @@
+#include "mbed.h"
+
+DigitalOut gpo(D0);
+DigitalOut led(LED_RED);
+
+const double numnotch50biq1_1 = 1;
+const double numnotch50biq1_2 = 1.11568254634875e-11;
+const double numnotch50biq1_3 = 1.00000002278002;
+const double dennotch50biq1_2 = -0.0434777721916752;
+const double dennotch50biq1_3 = 0.956543692050407;
+// biquad 2 coefficienten
+const double numnotch50biq2_1 = 1;
+const double numnotch50biq2_2 = -1.11571030192437e-11;
+const double numnotch50biq2_3 = 0.999999977219980;
+const double dennotch50biq2_2 = 0.0434777721916751;
+const double dennotch50biq2_3 = 0.956543692050417;
+ 
+// highpass filter 20 Hz coefficienten
+const double numhigh20_1 = 0.638945525159022;
+const double numhigh20_2 = -1.27789105031804;
+const double numhigh20_3 = 0.638945525159022;
+const double denhigh20_2 = -1.14298050253990;
+const double denhigh20_3 = 0.412801598096189;
+ 
+// lowpass 5 Hz coefficienten
+const double numlow5_1 =0.000241359049041961;
+const double numlow5_2 =0.000482718098083923;
+const double numlow5_3 =0.000241359049041961;
+const double denlow5_2 =-1.95557824031504;
+const double denlow5_3 =0.956543676511203;
+int main()
+{
+    while (true) {
+
+    }
+}
\ No newline at end of file
diff -r 000000000000 -r 94702ec1a691 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Oct 26 10:58:50 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/34e6b704fe68
\ No newline at end of file