Java Mine
ContentsIndexHome
PreviousUpNext
Sensor.setHysteresis Method
Syntax
Java
public void setHysteresis(long hysteresis);
Parameters 
Description 
long hysteresis 
value determined by sensor type 

 

A buffer to prevent the sensor from bouncing between standard operation and aware state when the assessments are very close to a threshold. for example, if a maximum threshold is set to 90 degrees and a hysteresis of 1 degree, then once the sensor takes an assessment of 90.0 degrees and enters the aware state it will remain in the aware state until the temperature readings drop to 89.0 degrees  

 

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