Aht20 Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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(I2c |
Initializes a new instance of the Aht20 class. |
DefaultI2c |
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) |
Dispose() | (Inherited from AhtBase) |
Dispose(Boolean) | (Inherited from AhtBase) |
Get |
Gets the current relative humidity reading from the sensor. Reading the humidity takes between 10 ms and 80 ms. (Inherited from AhtBase) |
Get |
Gets the current temperature reading from the sensor. Reading the temperature takes between 10 ms and 80 ms. (Inherited from AhtBase) |
Proizvod | Verzije |
---|---|
.NET IoT Libraries | 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |