C# Mine
ContentsIndexHome
PreviousUpNext
BatteryHealthBase.UpdateSensorCalibration Method

Calibrates the sensor to correct values set by the user

Syntax
C#
public static 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 
Copyright (c) 2023. All rights reserved.
What do you think about this topic? Send feedback!