Main Content
readPressure
Add-On Required: This feature requires the MATLAB Support Package for Raspberry Pi Hardware add-on.
Description
[
returns one sample of the absolute pressure data from the sensor. The absolute pressure
sample is returned as a scalar in Pascal. The function also returns the
pressureReading
,timestamp
] = readPressure(sensorobj
)timestamp
at which MATLAB® receives the absolute pressure data from the sensor. The
timestamp
output is optional.
Note
The readAngularVelocity
function is available for the
LPS22HB
and BMP280
sensors.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2021a