readTemperature
Read one ambient temperature data sample from LSM303C sensor
Description
[
returns one sample of the ambient temperature data from the LSM303C 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 LSM303C sensor. The
timestamp output is optional.
Note
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