Monnit Mine Java
ContentsIndexHome
PreviousUpNext
AnalogBase.UpdateSensorCalibration Method
Syntax
Pascal
C++
Java
PHP
function UpdateSensorCalibration(sens: Sensor; lastReading: double; reading: double; sendSensorUpdate: boolean): Pointer;
Parameters 
Description 
Sensor 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  

 

Calibrates the sensor to correct values set by the user  

 

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