Ccs811Sensor.SetThreshold(VolumeConcentration, VolumeConcentration) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the threshold for the equivalent CO2. The pinInterrupt should be existing so interruptions are activated. If not, then the function will return false
public bool SetThreshold (UnitsNet.VolumeConcentration lowEquivalentCO2, UnitsNet.VolumeConcentration highEquivalentCO2);
member this.SetThreshold : UnitsNet.VolumeConcentration * UnitsNet.VolumeConcentration -> bool
Public Function SetThreshold (lowEquivalentCO2 As VolumeConcentration, highEquivalentCO2 As VolumeConcentration) As Boolean
Parameters
- lowEquivalentCO2
- UnitsNet.VolumeConcentration
The low value for the threshold
- highEquivalentCO2
- UnitsNet.VolumeConcentration
The high value for the threshold
Returns
True if success
Remarks
Difference between the low and high value should be more than 50. This is called the hysteresis value.