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.
Diff: main.cpp
- Revision:
- 3:89bae16a8d2c
- Parent:
- 1:93d2771b8797
- Child:
- 5:b81eb5e88546
--- a/main.cpp Wed Oct 22 09:05:56 2014 +0000
+++ b/main.cpp Thu Oct 23 00:21:13 2014 +0000
@@ -2,7 +2,7 @@
// FIR フィルタ,係数の対称性を利用する構造
// Analog Input : A0
// Analog Output: MCP4922 using SPI
-// 2014/10/21, Copyright (c) 2014 MIKAMI, Naoki
+// 2014/10/23, Copyright (c) 2014 MIKAMI, Naoki
//--------------------------------------------------------------
#include "mbed.h"
@@ -14,9 +14,9 @@
using namespace Mikami;
-const int FS_ = 12000; // Sampling frequency: 12 kHz
-ADC_Base adc_(A0, FS_); // for AD
-DAC_MCP4922 myDac_(DAC_MCP4922::DAC_A); // for DA
+const int FS_ = 12000; // Sampling frequency: 12 kHz
+ADC_Base adc_(A0, FS_); // for AD
+DAC_MCP4922 myDac_; // for DA
int main()
{