Get Distance from VL53L0X

Description

Returns the distance to the nearest detected surface in millimetres. The sensor measures distance using infrared laser light. The approximate measurement range is 50–1200 mm. Returns -1 if the reading times out or no valid object is detected within range.

Example

There are no examples documented for this article.