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:
- 1:e5e7a45f0cd6
- Parent:
- 0:00e1dcdfaaad
- Child:
- 3:4d766c291dba
--- 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