sensor_info_get_range_maximum()

Get the maximum range of a sensor.

Synopsis:

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

Arguments:

info
The information for the sensor to get the maximum range of.

Library:

libbps

Description:

The sensor_info_get_range_maximum() function gets the maximum range of the sensor that is represented by the specified sensor information.

Returns:

The sensor's maximum range.