Prototype program of AD and DA using classes in UIT_ADDA. This program does not use interrupt of ADC for ST Nucleo F401RE. UIT_ADDA のクラスを使った AD および DA のためのプログラムの雛形.ADC の割り込みは使わないバージョン.ST Nucleo F401 用.
Dependencies: UIT_ACM1602NI UIT_ADDA mbed
Diff: main.cpp
- Revision:
- 1:b4af5a0ad127
- Parent:
- 0:fa5a90c45188
- Child:
- 3:14136cf84042
diff -r fa5a90c45188 -r b4af5a0ad127 main.cpp --- a/main.cpp Mon Oct 20 03:08:15 2014 +0000 +++ b/main.cpp Mon Oct 20 09:27:36 2014 +0000 @@ -14,7 +14,7 @@ using namespace Mikami; -const int FS_ = 10000; // Sampling frequency: 24 kHz +const int FS_ = 10000; // Sampling frequency: 10 kHz ADC_Base adc_(A0, FS_); // for AD DAC_MCP4922 myDac_(DAC_MCP4922::DAC_A); // for DA