不韋 呂 / Mbed 2 deprecated ADDA_Prototype1_Interrupt

Dependencies:   UIT_ADDA mbed

Revision:
6:82cc56bd6307
Parent:
5:aa0810bc0a76
Child:
7:442b02fbb2f9
diff -r aa0810bc0a76 -r 82cc56bd6307 main.cpp
--- 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()
 {