Class similar to AnalogIn that uses burst mode to run continious background conversions so when the input is read, the last value can immediatly be returned. This slightly modified version allows NC pins.
Dependents: Pinscape_Controller
Fork of FastAnalogIn by
Diff: FastAnalogIn.h
- Revision:
- 5:55274430c8df
- Parent:
- 4:cd84739f7640
- Child:
- 6:e2a98449ae58
diff -r cd84739f7640 -r 55274430c8df FastAnalogIn.h --- a/FastAnalogIn.h Sun Apr 20 16:23:19 2014 +0000 +++ b/FastAnalogIn.h Mon Apr 21 07:17:39 2014 +0000 @@ -11,14 +11,14 @@ #error "Target not supported" #endif - /** A class similar to AnalogIn, only faster, for LPC1768 and KLxx + /** A class similar to AnalogIn, only faster, for LPC1768, LPC408X and KLxx * * AnalogIn does a single conversion when you read a value (actually several conversions and it takes the median of that). * This library runns the ADC conversion automatically in the background. * When read is called, it immediatly returns the last sampled value. * - * LPC1768 - * Using more ADC pins in continuous mode will decrease the conversion rate (LPC1768). + * LPC1768 / LPC4088 + * Using more ADC pins in continuous mode will decrease the conversion rate (LPC1768:200kHz/LPC4088:400kHz). * If you need to sample one pin very fast and sometimes also need to do AD conversions on another pin, * you can disable the continuous conversion on that ADC channel and still read its value. *