defines changed from TARGET_LPC1768 to TARGET_LPC176X to support LPC1769 target
Fork of FastAnalogIn by
Diff: FastAnalogIn_LPC1768.cpp
- Revision:
- 4:cd84739f7640
- Parent:
- 2:9b61d0792927
- Child:
- 7:965a2b0e477f
diff -r a9b753c25073 -r cd84739f7640 FastAnalogIn_LPC1768.cpp --- a/FastAnalogIn_LPC1768.cpp Sat Mar 08 16:01:36 2014 +0000 +++ b/FastAnalogIn_LPC1768.cpp Sun Apr 20 16:23:19 2014 +0000 @@ -18,6 +18,8 @@ NC, NC, 0 }; +int FastAnalogIn::channel_usage[8] = {0,0,0,0,0,0,0,0}; + FastAnalogIn::FastAnalogIn(PinName pin, bool enabled) { ADCnumber = (ADCName)pinmap_peripheral(pin, PinMap_ADC);