Edit

Share via


Bmx280Base.TryReadPressure(Pressure) Method

Definition

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

public override bool TryReadPressure (out UnitsNet.Pressure pressure);
[System.Device.Model.Telemetry("Pressure", null)]
public override bool TryReadPressure (out UnitsNet.Pressure pressure);
override this.TryReadPressure : Pressure -> bool
[<System.Device.Model.Telemetry("Pressure", null)>]
override this.TryReadPressure : Pressure -> bool
Public Overrides Function TryReadPressure (ByRef pressure As Pressure) As Boolean

Parameters

pressure
UnitsNet.Pressure

Contains the measured pressure in Pa if the PressureSampling was not set to Skipped. Contains NaN otherwise.

Returns

true if measurement was not skipped, otherwise false.

Attributes

Applies to