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: UIT_ACM1602NI UIT_ADDA mbed
Revision 3:54eac4891e35, committed 2014-11-12
- Comitter:
- MikamiUitOpen
- Date:
- Wed Nov 12 10:54:38 2014 +0000
- Parent:
- 2:6c46c15c45f0
- Child:
- 4:1d6e6d8e13c7
- 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 Mon Nov 10 10:04:06 2014 +0000 +++ b/UIT_ADDA.lib Wed Nov 12 10:54:38 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 10:04:06 2014 +0000
+++ b/main.cpp Wed Nov 12 10:54:38 2014 +0000
@@ -3,14 +3,13 @@
// A0: Signal to be filtered
// A2: Value which controls cutoff frequency
//
-// 2014/11/10, Copyright (c) 2014 MIKAMI, Naoki
+// 2014/11/12, Copyright (c) 2014 MIKAMI, Naoki
//------------------------------------------------------------------
#include "mbed.h"
#include "ADC_Interrupt.hpp" // for ADC using interrupt
#include "DAC_MCP4922.hpp" // for DAC MCP4922
-#include "ScfClockTim3.hpp" // for clock supplied to SCF
#include "ACM1602NI.hpp" // for LCD display
#include "WindowingDesignLH.hpp" // for design of IIR filter
@@ -65,7 +64,7 @@
int main()
{
- ScfClockTim3(670000); // cutoff frequency: 6.7 kHz
+ myDac_.ScfClockTim3(670000); // cutoff frequency: 6.7 kHz
WindowingDesign lpfDsgn(ORDER_, FS_);
Acm1602Ni lcd; // objetc for display using LCD
@@ -105,4 +104,3 @@
wait(0.1f);
}
}
-