Prototype program of AD and DA using classes in UIT_ADDA. This program uses interrupt of ADC. Second channnel input is used to control volume of output for ST Nucleo F401RE. UIT_ADDA のクラスを使った AD および DA のためのプログラムの雛形.ADC の割り込みを使うバージョン.2番目のチャンネルの ADC の入力は,出力信号の大きさをコントロールするために使う.ST Nucleo F401 用.
Dependencies: UIT_ACM1602NI UIT_ADDA mbed
Revision 8:6afde3ece70c, committed 2014-11-20
- Comitter:
- MikamiUitOpen
- Date:
- Thu Nov 20 09:01:13 2014 +0000
- Parent:
- 7:807d7fb49cbd
- Child:
- 9:4e80323d041b
- Commit message:
- 9
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Nov 13 04:53:39 2014 +0000 +++ b/main.cpp Thu Nov 20 09:01:13 2014 +0000 @@ -3,11 +3,9 @@ // Analog Input : A0 // Analog Output: MCP4922 using SPI // A2: used for control volume of output -// 2014/11/12, Copyright (c) 2014 MIKAMI, Naoki +// 2014/11/20, Copyright (c) 2014 MIKAMI, Naoki //-------------------------------------------------------------- -#include "mbed.h" - #include "ADC_Interrupt.hpp" // for ADC using interrupt #include "DAC_MCP4922.hpp" // for DAC MCP4922