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:
- 6:82cc56bd6307
- Parent:
- 5:aa0810bc0a76
- Child:
- 7:442b02fbb2f9
--- a/main.cpp Thu Oct 30 00:01:12 2014 +0000 +++ b/main.cpp Thu Oct 30 00:04:56 2014 +0000 @@ -17,10 +17,6 @@ ADC_Intr adc_(A0, FS_); // for AD DAC_MCP4922 myDac_; // for DA -uint16_t a2_ = 0; -uint16_t a21_ = 0; -float vol_ = 1.0f; - // Interrupt service routine for ADC void AdcIsr() {