Aht20 Class

Definition

AHT20 temperature and humidity sensor binding.

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

Constructors

Aht20(I2cDevice)

Initializes a new instance of the Aht20 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