SensorHub Class

Definition

SensorHub

public sealed class SensorHub
type SensorHub = class
Public NotInheritable Class SensorHub
Inheritance
SensorHub

Constructors

SensorHub(I2cDevice)

Initializes a new instance of the SensorHub class.

Fields

DefaultI2cAddress

Default I2C address

Properties

IsMotionDetected

Is motion detected by the on board sensor

Methods

TryReadBarometerPressure(Pressure)

Try to read pressure from sensor.

TryReadBarometerTemperature(Temperature)

Try to read the temperature from the barometer sensor.

TryReadIlluminance(Illuminance)

Try to read illuminance from sensor.

TryReadOffBoardTemperature(Temperature)

Try to read the temperature from the off board thermometer.

TryReadOnBoardTemperature(Temperature)

Try to read temperature from on board sensor

TryReadRelativeHumidity(RelativeHumidity)

Try to read relative humidity from sensor.

Applies to