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.cpp

Revision Date Message Actions
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
16:c2b0f3ca63dd 2016-06-08 getDistance(any), getVoltage() have come to be inline function. File  Diff  Annotate
15:1d643b831a03 2016-06-08 getSampleNum has been implemented. 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
6:d2363b50aeaf 2016-06-06 debuged; 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
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