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
Diff: main.cpp
- Revision:
- 3:107eba32fd7f
- Parent:
- 1:5c7f4c52d797
- Child:
- 6:f0ebd1e1dc43
--- a/main.cpp Thu Nov 13 04:54:41 2014 +0000 +++ b/main.cpp Thu Nov 20 08:59:43 2014 +0000 @@ -4,12 +4,10 @@ // Analog mic. Input : A1 (channel 2) // Analog Output: MCP4922 using SPI // Switch : D2 -// 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 "ADC_Base.hpp" // for ADC not using interrupt #include "DAC_MCP4922.hpp" // for DAC MCP4922 #include "ACM1602NI.hpp" // for LCD display