Frequency shifter using analytic signal for ST Nucleo F401RE.

Dependencies:   UITDSP_ADDA mbed

Revision:
2:ba46d7cbb09e
Parent:
0:4269710caf90
Child:
4:04bb0cfea187
diff -r 530d7b2b287c -r ba46d7cbb09e main.cpp
--- a/main.cpp	Mon Nov 10 09:57:34 2014 +0000
+++ b/main.cpp	Wed Nov 12 10:22:30 2014 +0000
@@ -1,14 +1,13 @@
 //--------------------------------------------------------------
 // Frequency shifter using analytic signal
 //      Frequency is shifted toward 100 Hz higher
-// 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 "HilbertTransform.hpp"     // Hilbert transform filter
 #include "coefsHilbert114.hpp"      // Coeffisients of Hilbert transform filter
@@ -28,7 +27,7 @@
 
 int main()
 {
-    ScfClockTim3(500000);       // cutoff frequency: 5 kHz
+    myDac_.ScfClockTim3(500000);    // cutoff frequency: 5 kHz
 
     while (true)
     {