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

Calibrates the sensor to correct values set by the user

Syntax
C++
C#
Visual Basic
void UpdateSensorCalibration(Sensor sens, double lastReading, double reading, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
sens the Sensor object to be updated  
double lastReading 
The last reading the sensor gave. 
double reading 
Actual reading value that the sensor should be showing. 
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration