Java Mine
ContentsIndexHome
PreviousUpNext
ZeroToFiveVoltBase.UpdateSensorCalibration Method
Syntax
Java
public static void UpdateSensorCalibration(Sensor sens, double actualValue, double lastSensorReading, Boolean sendSensorUpdate) throws Exception;
Parameters 
Description 
Sensor sens 
the Sensor object to be updated  
double actualValue 
what the actual temperature of the room the sensor is located in is  
double lastSensorReading 
the last reading the sensor took.  
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!