readPressure
Read one absolute pressure data sample from sensor
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
readAngularVelocityfunction is available for theLPS22HBandBMP280sensors.To generate C/C++ code for this function, you must have an Embedded Coder® license.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2021a