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:
12:db5110d9d494
Parent:
11:d60fb729eacf
Child:
13:16fc61b41eff
--- a/TRP105F_Spline.h	Mon Jun 06 19:49:20 2016 +0000
+++ b/TRP105F_Spline.h	Tue Jun 07 04:35:15 2016 +0000
@@ -72,6 +72,7 @@
     void    saveSetting(const char *filename);
     void    loadSetting();
     void    loadSetting(const char *filename);
+    void    loadSetting_fromSerial(Serial *com);
     void    printOutData(const char *filename);
 #ifdef HAS_COM_TO_CONSOLE
     void    printThresholds();