The VL53L1CB proximity sensor, based on ST’s FlightSense™, Time-of-Flight technology.

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   VL53L1CB_noshield_1sensor_polls_auton VL53L1CB_noshield_1sensor_interrupt_auton X_NUCLEO_53L1A2

Based on VL53L1 library, this is a library for the VL53L1CB ToF chip.

Revision:
17:ca0ce4daf573
Parent:
16:27131f13570d
Child:
18:0696efe39d08
--- a/inc/VL53L1CB.h	Sun Jun 20 13:31:49 2021 +0000
+++ b/inc/VL53L1CB.h	Wed Jun 23 12:57:26 2021 +0000
@@ -149,7 +149,7 @@
      * @param[in] &pin_gpio1 pin Mbed InterruptIn PinName to be used as component GPIO_1 INT
      * @param[in] DevAddr device address, 0x52 by default
      */
-/* confuses the compiler
+
     VL53L1CB(ToF_DevI2C *i2c, DigitalOut *pin, PinName pin_gpio1, uint8_t dev_addr = VL53L1_DEFAULT_DEVICE_ADDRESS) 
     : RangeSensor(), dev_i2c(i2c), _gpio0(pin)
     {
@@ -163,8 +163,7 @@
             _gpio1Int = NULL;
         }
     }
-
-*/    
+   
     /** Constructor 2 (STMPE1600DigiOut)
      * @param[in] i2c device I2C to be used for communication
      * @param[in] &pin Gpio Expander STMPE1600DigiOut pin to be used as component GPIO_0 CE