Software Flow
12
VL53L1_WaitDeviceBooted(
): It ensures that the device
is booted and ready.
DataInit(): It performs device
initialization. Call once only.
StaticInit(): It loads device
settings.
StartMeasurement(): It must
be called to start a
measurement
Waitmeasuremetndataready
(): It polls on the device
interrupt status until ranging
data are ready.
GetRangeMesurementData
Ready(): To know if new
randing data is ready.
GetRangeMesurementData(
): To get ranging data.
ClearInturruptAndStartMeas
rement(): Inturrupt, is
cleared. To get consistent
results, it is mandatory to
call this function after getting
the ranging measurement.