Non-variable (TESTEDandWORKING)

Dependencies:   mbed-rtos mbed

Fork of ELEC347_Coursework by CMST

Files at this revision

API Documentation at this revision

Comitter:
mwthewsey
Date:
Tue Dec 05 15:59:45 2017 +0000
Parent:
14:379796f5868e
Commit message:
Non-variable(TESTEDandWORKING)

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 379796f5868e -r a98f8182c86f main.cpp
--- a/main.cpp	Mon Dec 04 11:27:35 2017 +0000
+++ b/main.cpp	Tue Dec 05 15:59:45 2017 +0000
@@ -24,7 +24,7 @@
 
 
 //Declare Filter
-FILTER BP_filter(48000,10000,-16,2);  //Create object of type Filter(Fs,Fo,Boost,Q)
+FILTER BP_filter(48000,70,16,1);  //Create object of type Filter(Fs,Fo,Boost,Q)
 
 
 //Forward Declarations
@@ -34,6 +34,8 @@
 int main()
 {
     t1.start(sampler);//Start the Sampler timed interrupt
+    BP_filter.Define_Filter();
+    BP_filter.Print_Filter();
 }
 
 void sampler(void)