FIR filter of symmetric coefficiemts for ST Nucleo F401RE.

Dependencies:   UIT_ADDA mbed

Files at this revision

API Documentation at this revision

Comitter:
MikamiUitOpen
Date:
Wed Nov 12 09:55:15 2014 +0000
Parent:
4:9339731ba2a6
Child:
6:eaab05429e1d
Commit message:
6

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	Mon Nov 10 09:56:36 2014 +0000
+++ b/UIT_ADDA.lib	Wed Nov 12 09:55:15 2014 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/users/MikamiUitOpen/code/UIT_ADDA/#6989472e84c4
+http://developer.mbed.org/users/MikamiUitOpen/code/UIT_ADDA/#72fe42a4323c
--- a/main.cpp	Mon Nov 10 09:56:36 2014 +0000
+++ b/main.cpp	Wed Nov 12 09:55:15 2014 +0000
@@ -2,14 +2,13 @@
 // FIR フィルタ,係数の対称性を利用する構造
 //      Analog Input : A0
 //      Analog Output: MCP4922 using SPI
-// 2014/10/23, Copyright (c) 2014 MIKAMI, Naoki
+// 2014/11/12, Copyright (c) 2014 MIKAMI, Naoki
 //--------------------------------------------------------------
 
 #include "mbed.h"
 
 #include "ADC_Base.hpp"         // for ADC not using interrupt
 #include "DAC_MCP4922.hpp"      // for DAC MCP4922
-#include "ScfClockTim3.hpp"     // for clock supplied to SCF
 #include "Coefficients_200_LPF_Sym.hpp"
 
 using namespace Mikami;
@@ -20,7 +19,7 @@
 
 int main()
 {
-    ScfClockTim3(500000);       // cutoff frequency: 5 kHz
+    myDac_.ScfClockTim3(500000);    // cutoff frequency: 5 kHz
 
     float xn[ORDER_+1];
     for (int n=0; n<=ORDER_; n++)