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

Calibrates the sensor to correct values set by the user

Syntax
C++
C#
Visual Basic
void UpdateSensorCalibration(Sensor sens, double actualValue, double lastSensorReading, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
sens the Sensor object to be updated  
double actualValue 
what the actual Reading the sensor should be displaying 
double lastSensorReading 
the last data reading value 
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration