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:
- 6:e2a98449ae58
- Parent:
- 5:55274430c8df
- Child:
- 7:965a2b0e477f
diff -r 55274430c8df -r e2a98449ae58 FastAnalogIn.h --- a/FastAnalogIn.h Mon Apr 21 07:17:39 2014 +0000 +++ b/FastAnalogIn.h Mon Apr 21 10:02:07 2014 +0000 @@ -7,7 +7,7 @@ #include "mbed.h" #include "pinmap.h" -#if !defined TARGET_LPC1768 && !defined TARGET_KL25Z && !defined TARGET_KL46Z && !defined TARGET_KL05Z && !defined TARGET_LPC408X +#if !defined TARGET_LPC1768 && !defined TARGET_KLXX && !defined TARGET_LPC408X #error "Target not supported" #endif