You are here: Symbol Reference > Monnit Namespace > TemperatureBase Class > TemperatureBase Methods > TemperatureBase.UpdateSensorCalibration Method
TemperatureBase.UpdateSensorCalibration Method
TemperatureBase Class  TemperatureBase Members  TemperatureBase Methods  Send Feedback

Calibrates the sensor to correct values set by the user

Syntax
C++
C#
Visual Basic
void UpdateSensorCalibration(Sensor sens, double actualTemp, bool isFahrenheit, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
sens the Sensor object to be updated  
double actualTemp 
what the actual temperature of the room the sensor is located in is 
bool 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