src/vl53l1x.cpp
void Vl53l1x::startContinuous(uint32_t period_ms)
{
  // from VL53L1_set_inter_measurement_period_ms()
  writeReg32Bit(SYSTEM__INTERMEASUREMENT_PERIOD, period_ms * osc_calibrate_val);

  writeReg(SYSTEM__INTERRUPT_CLEAR, 0x01); // sys_interrupt_clear_range
  writeReg(SYSTEM__MODE_START, 0x40); // mode_range__timed
}
// Start continuous ranging measurements, with the given inter-measurement
// period in milliseconds determining how often the sensor takes a measurement.
Start continuous ranging measurements, with the given inter-measurement
period in milliseconds determining how often the sensor takes a measurement.
Start continuous ranging measurements with the given inter - measurement period in milliseconds determining how often the sensor takes a measurement .
void Vl53l1x::startContinuous(uint32_t period_ms)
{
  writeReg32Bit(SYSTEM__INTERMEASUREMENT_PERIOD, period_ms * osc_calibrate_val);
  writeReg(SYSTEM__INTERRUPT_CLEAR, 0x01); 
  writeReg(SYSTEM__MODE_START, 0x40); 
}
void Vl53l1x :: startContinuous ( uint32_t period_ms ) { writeReg32Bit ( SYSTEM__INTERMEASUREMENT_PERIOD , period_ms * osc_calibrate_val ) ; writeReg ( SYSTEM__INTERRUPT_CLEAR , 0x01 ) ; writeReg ( SYSTEM__MODE_START , 0x40 ) ; }
Start continuous ranging measurements, with the given inter-measurement
period in milliseconds determining how often the sensor takes a measurement.
Start continuous ranging measurements with the given inter - measurement period in milliseconds determining how often the sensor takes a measurement .
// from VL53L1_set_inter_measurement_period_ms() // sys_interrupt_clear_range // mode_range__timed