readTemperature
Description
[
returns one sample of the ambient temperature data from the LSM6DSL IMU sensor. The ambient
temperature sample is returned as a scalar in degree Celsius. The function also returns the
tempReading
,timestamp
] = readTemperature(sensor
)timestamp
at which MATLAB® receives the temperature data from the LSM6DSL sensor. The
timestamp
output is optional.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2021a
See Also
readAcceleration
| readAngularVelocity
| lsm6dsl
| raspi
| scanI2CBus
| showPins
| enableI2C
| disableI2C
| Raspberry Pi Resource
Monitor App