HTS221 Humidity Sensor
R2026bMeasure relative humidity and ambient temperature from Humidity sensor
Libraries:
Raspberry Pi Blockset /
Sense HAT
Description
Measure the relative humidity and the ambient temperature using the Humidity sensor (HTS221) on board Raspberry Pi® SenseHAT.
Note
To generate C/C++ code for this block, you must have an Embedded Coder® license.
Ports
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"sensehatlib/HTS221 Humidity Sensor"
Example: add_block("sensehatlib/HTS221 Humidity Sensor","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2007a
