sensorStop()

Stops retrieving values from the given sensor.

Synopsis

int sensorStop(int sensor);

Parameters

Parameter Description
sensor Index of the sensor

Return Value

Returns 0 or -1 if an invalid index is given.

Errors

Invalid sensor index

Description

Stops retrieving values from the sensor with the given index. The sensor is released so that other processes can use it.

Assignment

Mobile UI control functions

Availability

UI