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:
21:cd20537290f9
Parent:
20:0453919a76b2
--- a/TRP105F_Spline.cpp	Thu Jun 30 16:45:30 2016 +0000
+++ b/TRP105F_Spline.cpp	Thu Jun 30 17:02:48 2016 +0000
@@ -89,7 +89,7 @@
     PinName pin
 )
     :_useType(AsMODULE)
-    :_ai(AnalogIn(pin))
+    ,_ai(AnalogIn(pin))
 
 {
     _snum = 0;