Function vl53l1::set_user_roi

source ·
pub fn set_user_roi(dev: &mut Device, roi: UserRoi) -> Result<(), StError>
Expand description

Set the region of interest by specifying the grid of SPADs to use.

The minimum ROI size is 4x4.

See the API User Manual section 2.5.6 for further information.