Prototype program of AD and DA using classes in UIT_ADDA. This program uses interrupt of ADC for ST Nucleo F401RE. UIT_ADDA のクラスを使った AD および DA のためのプログラムの雛形.ADC の割り込みを使うバージョン.ST Nucleo F401 用.

Dependencies:   UIT_ADDA mbed

Files at this revision

API Documentation at this revision

Comitter:
MikamiUitOpen
Date:
Mon Oct 20 09:29:56 2014 +0000
Parent:
0:00e1dcdfaaad
Child:
2:207bec9010f2
Commit message:
2

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Oct 20 07:59:05 2014 +0000
+++ b/main.cpp	Mon Oct 20 09:29:56 2014 +0000
@@ -13,7 +13,7 @@
 
 using namespace Mikami;
 
-const int FS_ = 10000;          // Sampling frequency: 24 kHz
+const int FS_ = 10000;          // Sampling frequency: 10 kHz
 ADC_Intr adc_(A0, FS_, A1, A2);         // for AD
 DAC_MCP4922 myDac_(DAC_MCP4922::DAC_A); // for DA