When we invented that chip, we expected it to range to 10cm or so. So the range result only needed to be one byte.
That should be fine they said.
but the 6180 can with a bright target get to 600mm and that doesn't fit in a byte.
So we put in a 'multiplier' which can be 2 or 3.
with a multiplier of 2, and a real distance of 500 mm, we return 250.
It's on you to take the result we send and do the x2.
Otherwise there is nothing else to set.
but you are going to have to remember which multiplier you set.
look for VL6180x_UpscaleSetScaling() in the datasheet.
-john
If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.