This is the SparkFun_VL53L1X_Arduino_Library translated into mbed, with some elements of Ian Kilburn's VL6180x mbed library.

Dependents:   Hug2Go_ver_2 Nucleo_rtos_basic_f103rb

Revision:
1:0d762892f7af
Parent:
0:03b7e8deb3ee
Child:
5:aa8cc9e87216
diff -r 03b7e8deb3ee -r 0d762892f7af VL53L1X.h
--- a/VL53L1X.h	Wed Jul 18 16:47:45 2018 +0000
+++ b/VL53L1X.h	Thu Jul 19 21:58:59 2018 +0000
@@ -12,6 +12,7 @@
 class VL53L1X {
   public:
     VL53L1X(PinName SDA, PinName SCL);
+    bool begin();
     void softReset(); //Reset the sensor via software
     void startMeasurement(uint8_t offset = 0); //Write a block of bytes to the sensor to configure it to take a measurement
     bool newDataReady(); //Polls the measurement completion bit