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.

Revision:
15:1d643b831a03
Parent:
14:a99bf22b919d
Child:
16:c2b0f3ca63dd
--- a/TRP105F_Spline.cpp	Wed Jun 08 10:43:53 2016 +0000
+++ b/TRP105F_Spline.cpp	Wed Jun 08 10:45:19 2016 +0000
@@ -128,6 +128,10 @@
     //delete g_Sensor_Voltage;
 }
 
+unsigned short TRP105FS::getSampleNum()
+{
+    return _Sample_Num;
+}
 
 unsigned short TRP105FS::getX(unsigned short arg_y)
 {