C# Mine
ContentsIndexHome
PreviousUpNext
ZeroToTwentyMilliampBase.UpdateSensorCalibration Method

Calibrates the sensor to correct values set by the user

Syntax
C#
public static void UpdateSensorCalibration(Sensor sensor, int observed, int actual, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sensor 
The Sensor object to be updated  
int observed 
is the last Data Message the sensor gave 
int actual 
is the actual Data Reading the sensor should be showing 
Boolean sendSensorUpdate 
A Boolean flag that lets the sensor know if it should send up the new configuration 
Copyright (c) 2017. All rights reserved.
What do you think about this topic? Send feedback!