Aht10 Class
Definition
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.
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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for