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.

History

The filename that SPT::TRP105FS::printCalibrationLOG() makes has become ADLOG%2d.TXT. default tip

2016-06-30, by aktk [Thu, 30 Jun 2016 17:41:14 +0000] rev 22

The filename that SPT::TRP105FS::printCalibrationLOG() makes has become ADLOG%2d.TXT.


trivial debug

2016-06-30, by aktk [Thu, 30 Jun 2016 17:02:48 +0000] rev 21

trivial debug


snum the local static variable in _setSample(ns, ns) has come to be declared as _snum the TRP105FS class' member field. It's because it was not expected that local static variable is shared by the instances of the same class.

2016-06-30, by aktk [Thu, 30 Jun 2016 16:45:30 +0000] rev 20

snum the local static variable in _setSample(ns, ns) has come to be declared as _snum the TRP105FS class' member field. It's because it was not expected that local static variable is shared by the instances of the same class.


Constructor SPI_TRP105FS(unsinged int, unsigned int) has been implemented.

2016-06-30, by aktk [Thu, 30 Jun 2016 15:23:41 +0000] rev 19

Constructor SPI_TRP105FS(unsinged int, unsigned int) has been implemented.


In constructors, the type of arg_num was changed to unsigned short.; In constructor(ushort, PinName), the defalt useTpe came to be set to AsMODULE.

2016-06-24, by aktk [Fri, 24 Jun 2016 11:33:01 +0000] rev 18

In constructors, the type of arg_num was changed to unsigned short.; In constructor(ushort, PinName), the defalt useTpe came to be set to AsMODULE.


Some comment

2016-06-08, by aktk [Wed, 08 Jun 2016 13:14:17 +0000] rev 17

Some comment


getDistance(any), getVoltage() have come to be inline function.

2016-06-08, by aktk [Wed, 08 Jun 2016 11:32:29 +0000] rev 16

getDistance(any), getVoltage() have come to be inline function.


getSampleNum has been implemented.

2016-06-08, by aktk [Wed, 08 Jun 2016 10:45:19 +0000] rev 15

getSampleNum has been implemented.


saveSetting_intoSerial(Serial) has briefly been implemented.

2016-06-08, by aktk [Wed, 08 Jun 2016 10:43:53 +0000] rev 14

saveSetting_intoSerial(Serial) has briefly been implemented.


type of _Sample_Num was modified: int -> unsigned short.; in saveSetting(any), size of _Sample_num to write into savedata file was modified: int -> unsigned short.

2016-06-07, by aktk [Tue, 07 Jun 2016 16:23:19 +0000] rev 13

type of _Sample_Num was modified: int -> unsigned short.; in saveSetting(any), size of _Sample_num to write into savedata file was modified: int -> unsigned short.