Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: UITDSP_ADDA mbed
Diff: main.cpp
- Revision:
- 2:ba46d7cbb09e
- Parent:
- 0:4269710caf90
- Child:
- 4:04bb0cfea187
--- 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)
{