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
Diff: main.cpp
- Revision:
- 1:43a38eaed0fc
- Parent:
- 0:494ae18d3b30
- Child:
- 2:8cbfd28344db
--- a/main.cpp Mon Oct 20 07:48:40 2014 +0000 +++ b/main.cpp Mon Oct 20 08:01:48 2014 +0000 @@ -1,7 +1,8 @@ //-------------------------------------------------------------- -// 割り込みを使って AD DA を行う場合の雛形2 +// 割り込みを使って AD DA を行う場合の雛形2(入力:2 チャンネル) // Analog Input : A0 // Analog Output: MCP4922 using SPI +// A2: used for control volume of output // 2014/10/20, Copyright (c) 2014 MIKAMI, Naoki //--------------------------------------------------------------