Prototype program of AD and DA using classes in UIT_ADDA. This program does not use interrupt of ADC. This program also example of exchanging input channel for ST Nucleo F401RE. UIT_ADDA のクラスを使った AD および DA のためのプログラムで,入力の切り替えを行う場合の雛形.ADC の割り込みは使わないバージョン.ST Nucleo F401 用.

Dependencies:   UIT_ACM1602NI UIT_ADDA mbed

Files at this revision

API Documentation at this revision

Comitter:
MikamiUitOpen
Date:
Wed Nov 12 09:07:10 2014 +0000
Parent:
0:473989635348
Child:
2:f9151948474d
Commit message:
2

Changed in this revision

UIT_ACM1602NI.lib Show annotated file Show diff for this revision Revisions of this file
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
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/UIT_ACM1602NI.lib	Mon Oct 27 23:51:05 2014 +0000
+++ b/UIT_ACM1602NI.lib	Wed Nov 12 09:07:10 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/MikamiUitOpen/code/UIT_ACM1602NI/#d8048b36d982
+http://mbed.org/users/MikamiUitOpen/code/UIT_ACM1602NI/#7c6b2df4e60b
--- a/UIT_ADDA.lib	Mon Oct 27 23:51:05 2014 +0000
+++ b/UIT_ADDA.lib	Wed Nov 12 09:07:10 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/MikamiUitOpen/code/UIT_ADDA/#77bc5550dc10
+http://developer.mbed.org/users/MikamiUitOpen/code/UIT_ADDA/#72fe42a4323c
--- a/main.cpp	Mon Oct 27 23:51:05 2014 +0000
+++ b/main.cpp	Wed Nov 12 09:07:10 2014 +0000
@@ -4,14 +4,13 @@
 //      Analog mic. Input : A1 (channel 2)
 //      Analog Output: MCP4922 using SPI
 //      Switch : D2
-// 2014/10/23, 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
 
 using namespace Mikami;
@@ -24,7 +23,7 @@
 
 int main()
 {
-    ScfClockTim3(420000);      // cutoff frequency: 4.2 kHz
+    myDac_.ScfClockTim3(420000);    // cutoff frequency: 4.2 kHz
     int swBefore = 0;
 
     while (true)
--- a/mbed.bld	Mon Oct 27 23:51:05 2014 +0000
+++ b/mbed.bld	Wed Nov 12 09:07:10 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/552587b429a1
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/031413cf7a89
\ No newline at end of file