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.

Revisions of TRP105F_Spline.h

Revision Date Message Actions
20:0453919a76b2 2016-06-30 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. File  Diff  Annotate
18:b046bba4ffa7 2016-06-24 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. File  Diff  Annotate
17:f6ec7796dafd 2016-06-08 Some comment File  Diff  Annotate
16:c2b0f3ca63dd 2016-06-08 getDistance(any), getVoltage() have come to be inline function. File  Diff  Annotate
14:a99bf22b919d 2016-06-08 saveSetting_intoSerial(Serial) has briefly been implemented. File  Diff  Annotate
13:16fc61b41eff 2016-06-07 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. File  Diff  Annotate
12:db5110d9d494 2016-06-07 void loadSetting_fromSerial(Serial) has been implemented. File  Diff  Annotate
11:d60fb729eacf 2016-06-06 make it come to be platform variation selective File  Diff  Annotate
10:b50e4bb40571 2016-06-06 New Constructor TRP105FS(unsigned int, PinName) has implemented. File  Diff  Annotate
9:ec1ee4a6b6a4 2016-06-06 New Member variable "AnalogIn ai" has added, which is a unique member to get analog data for each instance. File  Diff  Annotate
5:7d4fc0979976 2016-06-06 printOutData(no arg) -> printOutData(filename) File  Diff  Annotate
4:701f958d137a 2016-06-06 debug,; printOut(no arg)-> printOut(filename); File  Diff  Annotate
3:b56e933bebc2 2016-06-01 ??to SPI File  Diff  Annotate
2:40ae18445079 2016-02-16 my first publish>< File  Diff  Annotate
1:2053662b1167 2016-02-16 data list range [0,255]. message has been little changed. File  Diff  Annotate
0:e85788b14028 2016-02-12 Distance data range : [0:1024] -> [0:256]; File  Diff  Annotate