Function vl53l1::set_distance_mode

source ·
pub fn set_distance_mode(
    dev: &mut Device,
    distance_mode: DistanceMode
) -> Result<(), StError>
Expand description

Distance mode is a parameter provided to optimize the internal settings and tunings to get the best ranging performances depending on the ranging distance required by the application and ambient light conditions.

See the API User Manual section 2.5.3 for further information.