Java Mine
ContentsIndexHome
PreviousUpNext
ZeroToTwentyMilliampBase.UpdateSensorCalibration Method
Syntax
Java
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 

 

Calibrates the sensor to correct values set by the user  

 

Copyright (c) 2017. All rights reserved.
What do you think about this topic? Send feedback!