FIR filter of Direct form for ST Nucleo F401RE.
Dependencies: UITDSP_ADDA mbed
Revision 8:927d97f834b0, committed 2015-09-04
- Comitter:
- MikamiUitOpen
- Date:
- Fri Sep 04 09:09:05 2015 +0000
- Parent:
- 7:1d58eb69dae8
- Commit message:
- 9
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/UITDSP_ADDA.lib Fri Sep 04 09:09:05 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/MikamiUitOpen/code/UITDSP_ADDA/#543daa087bd5
--- a/UIT_ADDA.lib Sat Nov 15 06:05:32 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://developer.mbed.org/users/MikamiUitOpen/code/UIT_ADDA/#c326d04aa6b8
--- a/main.cpp Sat Nov 15 06:05:32 2014 +0000 +++ b/main.cpp Fri Sep 04 09:09:05 2015 +0000 @@ -2,20 +2,18 @@ // FIR フィルタ,基本的な構造 // Analog Input : A0 // Analog Output: MCP4922 using SPI -// 2014/11/12, Copyright (c) 2014 MIKAMI, Naoki +// 2015/07/03, Copyright (c) 2015 MIKAMI, Naoki //-------------------------------------------------------------- -#include "mbed.h" - -#include "ADC_Base.hpp" // for ADC not using interrupt -#include "DAC_MCP4922.hpp" // for DAC MCP4922 +#include "ADC_BuiltIn.hpp" // for ADC not using interrupt +#include "DAC_MCP4921.hpp" // for DAC MCP4921, MCP4922 #include "Coefficients_200_LPF.hpp" using namespace Mikami; -const int FS_ = 12000; // Sampling frequency: 12 kHz -ADC_Base adc_(A0, FS_); // for AD -DAC_MCP4922 myDac_; // for DA +const int FS_ = 12000; // Sampling frequency: 12 kHz +ADC_BuiltIn adc_(A0, FS_); // for AD +DAC_MCP4921 myDac_; // for DA int main() {
--- a/mbed.bld Sat Nov 15 06:05:32 2014 +0000 +++ b/mbed.bld Fri Sep 04 09:09:05 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/031413cf7a89 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/ba1f97679dad \ No newline at end of file