Java Mine
ContentsIndexHome
PreviousUpNext
BatteryHealthBase.UpdateSensorCalibration Method
Syntax
Java
public static void UpdateSensorCalibration(Sensor sens, double lastReading, double reading, Boolean sendSensorUpdate) throws Exception;

 

Calibrates the sensor to correct values set by the user @param sens the Sensor object to be updated @param lastReading The last reading the sensor gave. @param reading Actual reading value that the sensor should be showing. @param sendSensorUpdate a Boolean flag that lets the sensor know if it should send up the new configuration @throws java.lang.Exception exception

Copyright (c) 2022. All rights reserved.
What do you think about this topic? Send feedback!