Main Content
readHumidity
Description
[
returns one sample of the relative humidity data from the HTS221 sensor. The relative
humidity sample is returned as a scalar in percentage. The function also returns the
humidityReading
,timestamp
] = readHumidity(sensor
)timestamp
at which MATLAB® receives the relative humidity data from the HTS221 sensor. The
timestamp
output is optional.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2021a
See Also
readTemperature
| hts221
| raspi
| scanI2CBus
| showPins
| Raspberry Pi Resource
Monitor App