LPS25h Pressure Sensor
R2026bMeasure barometric air pressure and ambient temperature
Libraries:
Raspberry Pi Blockset /
Sense HAT
Description
Measure barometric air pressure and ambient temperature using the Pressure sensor 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/LPS25H Pressure Sensor"
Example: add_block("sensehatlib/LPS25H Pressure Sensor","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2017a
