Bme680.TryReadTemperature(Temperature) Method

Definition

Reads the temperature. A return value indicates whether the reading succeeded.

public override bool TryReadTemperature (out UnitsNet.Temperature temperature);
override this.TryReadTemperature : Temperature -> bool
Public Overrides Function TryReadTemperature (ByRef temperature As Temperature) As Boolean

Parameters

temperature
UnitsNet.Temperature

Contains the measured temperature if the TemperatureSampling was not set to Skipped. Contains NaN otherwise.

Returns

true if measurement was not skipped, otherwise false.

Applies to