Sht4x 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.
Humidity and Temperature Sensor SHT4x
[System.Device.Model.Interface("Humidity and Temperature Sensor SHT4x")]
public sealed class Sht4x : IDisposable
[<System.Device.Model.Interface("Humidity and Temperature Sensor SHT4x")>]
type Sht4x = class
interface IDisposable
Public NotInheritable Class Sht4x
Implements IDisposable
- Inheritance
-
Sht4x
- Attributes
- Implements
Constructors
Sht4x(I2cDevice) |
Instantiates a new Sht4x. |
Fields
DefaultI2cAddress |
The default I²C address of this device. |
Properties
RelativeHumidity |
The most recent relative humidity measurement. |
Repeatability |
The level of repeatability to use when measuring relative humidity. |
Temperature |
The most recent temperature measurement. |
Methods
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
ReadHumidityAndTemperature(Sht4xRepeatability) |
Reads relative humidity and temperature. |
ReadHumidityAndTemperatureAsync(Sht4xRepeatability) |
Reads relative humidity and temperature. |
ReadSerialNumber() |
Reads the serial number of the device |
Reset() |
Resets the device. |
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