This lib is supposed to be used as a sensor's calibration or control program. This makes Cubic Spline Model from some sample plots(sets of (value, voltage)), and then discretize the model (dividing the range of voltage into some steps) in order to use the calibrated model data without getting the INVERSE function.
CODE_SELECTIVE.h@11:d60fb729eacf, 2016-06-06 (annotated)
- Committer:
- aktk
- Date:
- Mon Jun 06 19:49:20 2016 +0000
- Revision:
- 11:d60fb729eacf
- Child:
- 14:a99bf22b919d
make it come to be platform variation selective
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
aktk | 11:d60fb729eacf | 1 | #ifndef TRP105FS_CODE_SELECTIVE_H |
aktk | 11:d60fb729eacf | 2 | #define TRP105FS_CODE_SELECTIVE_H |
aktk | 11:d60fb729eacf | 3 | /*------------------------------------*/ |
aktk | 11:d60fb729eacf | 4 | #if defined(TARGET_LPC1768) |
aktk | 11:d60fb729eacf | 5 | #define HAS_COM_TO_CONSOLE |
aktk | 11:d60fb729eacf | 6 | |
aktk | 11:d60fb729eacf | 7 | #elif defined(TARGET_LPC1114) |
aktk | 11:d60fb729eacf | 8 | |
aktk | 11:d60fb729eacf | 9 | #else |
aktk | 11:d60fb729eacf | 10 | |
aktk | 11:d60fb729eacf | 11 | #endif |
aktk | 11:d60fb729eacf | 12 | |
aktk | 11:d60fb729eacf | 13 | |
aktk | 11:d60fb729eacf | 14 | /*------------------------------------*/ |
aktk | 11:d60fb729eacf | 15 | #endif |