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 用.
Diff: main.cpp
- Revision:
- 5:aa0810bc0a76
- Parent:
- 4:c195f4d49c91
- Child:
- 6:82cc56bd6307
--- a/main.cpp Thu Oct 23 00:09:35 2014 +0000 +++ b/main.cpp Thu Oct 30 00:01:12 2014 +0000 @@ -14,7 +14,7 @@ using namespace Mikami; const int FS_ = 10000; // Sampling frequency: 10 kHz -ADC_Intr adc_(A0, FS_, A1, A2); // for AD +ADC_Intr adc_(A0, FS_); // for AD DAC_MCP4922 myDac_; // for DA uint16_t a2_ = 0;