ST Expansion SW Team / Mbed 2 deprecated VL53L3_NoShield_1sensor_interrupt_Mb2

Dependencies:   mbed VL53L3ExpansionBoard

Revision:
2:75271310def9
Parent:
0:34269810c435
--- a/Main.cpp	Thu Oct 15 09:39:43 2020 +0000
+++ b/Main.cpp	Mon Oct 19 07:30:36 2020 +0000
@@ -21,7 +21,7 @@
 
 #include "mbed.h"
 #include "NoShield53L3.h"
-#include "vl53L1x_I2c.h"
+#include "vl53L3_I2c.h"
 #include <time.h>
 
 // define I2C pins
@@ -117,7 +117,7 @@
     printf("Hello world!\r\n");
 
 // start the I2C interface
-    vl53L1X_DevI2C *dev_I2C = new vl53L1X_DevI2C(VL53L1_I2C_SDA, VL53L1_I2C_SCL);
+    vl53L3_DevI2C *dev_I2C = new vl53L3_DevI2C(VL53L1_I2C_SDA, VL53L1_I2C_SCL);
 
     
     /* no expansion board so don't use stmpe1600. Define interupt pins, only A2 used with one sensor */