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 用.
Revision 6:82cc56bd6307, committed 2014-10-30
- Comitter:
- MikamiUitOpen
- Date:
- Thu Oct 30 00:04:56 2014 +0000
- Parent:
- 5:aa0810bc0a76
- Child:
- 7:442b02fbb2f9
- Commit message:
- 7
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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() {