Ambient Temperature Sensor
Measure ambient temperature
Library
Simulink Support Package for Android Devices / Sensors
Description
Get the measurement of temperature in oC from the temperature sensor on the Android™ device.
The Ambient Temperature Sensor block outputs
a single
-precision scalar value.
Note
During simulations without hardware, this block outputs zeros. See Block Produces Zeros or Does Nothing in Simulation.
Parameters
- Sample time
Specify how often the block reads the sensor.
Smaller values require the processor to complete the same number of instructions in less time, which can cause task overruns.