NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
ex_SysComputeCalibValue.nxc

This is an example of how to use the SysComputeCalibValue function along with the ComputeCalibValueType structure.

task main()
{
args.Name = "light";
args.RawVal = Sensor(S1);
if (args.Result == NO_ERR)
TextOut(0, LCD_LINE1, "calib computed");
}