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:
5:aa8cc9e87216
Parent:
1:0d762892f7af
Child:
6:621552ff1de9
--- a/VL53L1X.h	Fri Jul 27 17:58:43 2018 +0000
+++ b/VL53L1X.h	Fri Jul 27 18:43:58 2018 +0000
@@ -12,7 +12,7 @@
 class VL53L1X {
   public:
     VL53L1X(PinName SDA, PinName SCL);
-    bool begin();
+    void 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