User Activity

I am using ST s API(VL53L0X TOF Sensor) and i have a doubt regarding the change in ranging modes at run time,For my application i want the sensor to work in HIGH ACCURACY mode first and after a time it has to work on FAST MODE and again back to HIGH ...