Monnit Mine Java
ContentsIndexHome
PreviousUpNext
TemperatureRTDBase.UpdateSensorCalibration Method
Syntax
Pascal
C++
Java
PHP
function UpdateSensorCalibration(sens: Sensor; actualTemp: double; isFahrenheit: boolean; sendSensorUpdate: Boolean): Pointer;
Parameters 
Description 
Sensor sens 
the Sensor object to be updated  
double actualTemp 
what the actual temperature of the room the sensor is located in is  
boolean isFahrenheit 
data is always stored as Celsius so if you are inputting values as Fahrenheit you will want to set this boolean value to true  
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) 2016. All rights reserved.
What do you think about this topic? Send feedback!