Reverb system using single comb filter class for ST Nucleo F401RE.

Dependencies:   UIT_ADDA mbed

Revision:
3:634a77f4702d
Parent:
1:b3a60a05da72
--- a/main.cpp	Mon Nov 10 10:01:35 2014 +0000
+++ b/main.cpp	Fri Nov 14 06:50:54 2014 +0000
@@ -1,13 +1,12 @@
 //--------------------------------------------------------------
 // Reverb system using comb filter
-// 2014/10/31, 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 "comb_filter.hpp"
 
@@ -25,7 +24,7 @@
 
 int main()
 {
-    ScfClockTim3(500000);       // cutoff frequency: 5 kHz
+    myDac_.ScfClockTim3(500000);    // cutoff frequency: 5 kHz
     while (true)
     {
         float xn = adc_.Read(); // Read from A0