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 22:eaaaa42a0ccb, committed 2016-06-30
- Comitter:
- aktk
- Date:
- Thu Jun 30 17:41:14 2016 +0000
- Parent:
- 21:cd20537290f9
- Commit message:
- The filename that SPT::TRP105FS::printCalibrationLOG() makes has become ADLOG%2d.TXT.
Changed in this revision
TRP105FS_SPIWrapper.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/TRP105FS_SPIWrapper.cpp Thu Jun 30 17:02:48 2016 +0000 +++ b/TRP105FS_SPIWrapper.cpp Thu Jun 30 17:41:14 2016 +0000 @@ -99,6 +99,9 @@ void SPI_TRP105FS::printCalibrationiLOG() { - trp.printOutData("ADLOG.TXT"); + char lfilename[13]; + + sprintf(lfilename, "ADLOG%2d.TXT", channel); + trp.printOutData(lfilename); } #endif \ No newline at end of file