sensor_info_get_resolution()

Get the resolution of a sensor.

Synopsis:

#include <bps/sensor.h>
 
BPS_API float sensor_info_get_resolution(sensor_info_t *info)

Arguments:

info
The information for the sensor to get the resolution of.

Library:

libbps

Description:

The sensor_info_get_resolution() function gets the resolution of the sensor that is represented by the specified sensor information. The resolution represents the sensitivity of a sensor.

Returns:

The sensor's resolution.