Datasheet

Thats it! Now open up the serial terminal window at 115200 speed to begin the test.
Move your hand up and down to read the sensor data, the range readings are in millimeters and the light sensors in
Lux. Note that when nothing is detected, it will print out the error which may vary.
Library Reference
You can start out by creating a Adafruit_VL6180X object using the default I2C:
Adafruit_VL6180X vl = Adafruit_VL6180X();
Once started, you can initialize the sensor which will also do some simple initializations and settings using begin().
Note that this will return True if the sensor was found and initialized. If not, it will return False.
© Adafruit Industries
https://learn.adafruit.com/adafruit-vl6180x-time-of-flight-micro-lidar-
distance-sensor-breakout
Page 14 of 27