
FIR filter of symmetric coefficiemts for ST Nucleo F401RE.
Revision 3:89bae16a8d2c, committed 2014-10-23
- Comitter:
- MikamiUitOpen
- Date:
- Thu Oct 23 00:21:13 2014 +0000
- Parent:
- 2:b09cd94aa8c7
- Child:
- 4:9339731ba2a6
- Commit message:
- 4
Changed in this revision
UIT_ADDA.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/UIT_ADDA.lib Wed Oct 22 09:05:56 2014 +0000 +++ b/UIT_ADDA.lib Thu Oct 23 00:21:13 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/MikamiUitOpen/code/UIT_ADDA/#b59e98443a6e +http://mbed.org/users/MikamiUitOpen/code/UIT_ADDA/#77bc5550dc10
--- a/main.cpp Wed Oct 22 09:05:56 2014 +0000 +++ b/main.cpp Thu Oct 23 00:21:13 2014 +0000 @@ -2,7 +2,7 @@ // FIR フィルタ,係数の対称性を利用する構造 // Analog Input : A0 // Analog Output: MCP4922 using SPI -// 2014/10/21, Copyright (c) 2014 MIKAMI, Naoki +// 2014/10/23, Copyright (c) 2014 MIKAMI, Naoki //-------------------------------------------------------------- #include "mbed.h" @@ -14,9 +14,9 @@ using namespace Mikami; -const int FS_ = 12000; // Sampling frequency: 12 kHz -ADC_Base adc_(A0, FS_); // for AD -DAC_MCP4922 myDac_(DAC_MCP4922::DAC_A); // for DA +const int FS_ = 12000; // Sampling frequency: 12 kHz +ADC_Base adc_(A0, FS_); // for AD +DAC_MCP4922 myDac_; // for DA int main() {