ST Expansion SW Team / Mbed 2 deprecated VL53L3_shield_3_sensors_interrupt_Mb2

Dependencies:   mbed VL53L3ExpansionBoard

Revision:
2:b8a783991859
Parent:
1:cb15c3f78f5d
diff -r cb15c3f78f5d -r b8a783991859 main.cpp
--- a/main.cpp	Mon Oct 19 08:54:34 2020 +0000
+++ b/main.cpp	Mon Oct 19 08:57:07 2020 +0000
@@ -13,7 +13,7 @@
 #include <stdio.h>
 
 #include "mbed.h"
-#include "XNucleo53L1A1.h"
+#include "XNucleo53LX.h"
 #include "vl53L3_I2c.h"
 #include <time.h>
 
@@ -23,7 +23,7 @@
 
 #define MEASUREMENTTIMING  55 
 
-static XNucleo53L1A1 *board=NULL;
+static XNucleo53LX *board=NULL;
 Serial pc(SERIAL_TX, SERIAL_RX); 
 
 static int int_centre_result = 0;
@@ -122,7 +122,7 @@
  //   printf("I2C device created! %d %d\r\n",dev_I2C,*dev_I2C);
     
     /* creates the 53L1A1 expansion board singleton obj */
-    board = XNucleo53L1A1::instance(dev_I2C, A2, D8, D2);
+    board = XNucleo53LX::instance(dev_I2C, A2, D8, D2);
     printf("board created!\r\n");
 
     /* init the 53L1A1 expansion board with default values */