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.
Diff: TRP105F_Spline.h
- Revision:
- 18:b046bba4ffa7
- Parent:
- 17:f6ec7796dafd
- Child:
- 20:0453919a76b2
--- a/TRP105F_Spline.h Wed Jun 08 13:14:17 2016 +0000 +++ b/TRP105F_Spline.h Fri Jun 24 11:33:01 2016 +0000 @@ -59,10 +59,10 @@ public: // Constraction TRP105FS(); - TRP105FS(unsigned int); - TRP105FS(unsigned int, UseType); - TRP105FS(unsigned int, PinName); - TRP105FS(unsigned int, UseType, PinName); + TRP105FS(unsigned short); + TRP105FS(unsigned short, UseType); + TRP105FS(unsigned short, PinName); + TRP105FS(unsigned short, UseType, PinName); //TRP105FS(unsigned int arg_num, DataInType arg_dit, unsigned int channel); // Destraction ~TRP105FS();