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.
Fork of ELEC347_Coursework by
Revision 15:a98f8182c86f, committed 2017-12-05
- 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)