Aht10 Class

Definition

AHT10/15 temperature and humidity sensor binding.

public class Aht10 : Iot.Device.Ahtxx.AhtBase
type Aht10 = class
    inherit AhtBase
Public Class Aht10
Inherits AhtBase
Inheritance
Aht10

Constructors

Aht10(I2cDevice)

Initializes a new instance of the Aht10 class.

Fields

DefaultI2cAddress

Address of AHT10/15/20 device (0x38). This address is fix and cannot be changed. This implies that only one device can be attached to a single I2C bus at a time.

(Inherited from AhtBase)

Methods

Dispose() (Inherited from AhtBase)
Dispose(Boolean) (Inherited from AhtBase)
GetHumidity()

Gets the current relative humidity reading from the sensor. Reading the humidity takes between 10 ms and 80 ms.

(Inherited from AhtBase)
GetTemperature()

Gets the current temperature reading from the sensor. Reading the temperature takes between 10 ms and 80 ms.

(Inherited from AhtBase)

Applies to