Library for use with VL53L1X, intended to represent the Proximity sensor expansion board with the same name.

Dependencies:   VL53L1X_mbed

Dependents:   HelloWorld_53L1A1 VL53L1A1_Simple_Ranging_With_One_Device VL53L1A1_Simple_Ranging_With_All_Devices VL53L1X_Ranging_With_Multiple_Devices_MbedOS ... more

Revision:
28:0e99f593daa9
Parent:
27:afcf740eb7b8
--- a/XNucleo53L1A1.cpp	Wed Jul 24 10:38:21 2019 +0000
+++ b/XNucleo53L1A1.cpp	Wed Jul 24 12:29:10 2019 +0000
@@ -33,7 +33,7 @@
     sensor_centre->vl53l1_off();
     sensor_left->vl53l1_off();
     sensor_right->vl53l1_off();
-    status = sensor_centre->initialise_sensor(NEW_SENSOR_CENTRE_ADDRESS);
+    status = sensor_centre->init_sensor(NEW_SENSOR_CENTRE_ADDRESS);
     if (status) {
         delete sensor_centre;
         delete xshutdown_centre;
@@ -45,7 +45,7 @@
         n_dev++;
     }
 
-    status = sensor_left->initialise_sensor(NEW_SENSOR_LEFT_ADDRESS);
+    status = sensor_left->init_sensor(NEW_SENSOR_LEFT_ADDRESS);
     if (status) {
         delete sensor_left;
         delete xshutdown_left;
@@ -57,7 +57,7 @@
         n_dev++;
     }
 
-    status = sensor_right->initialise_sensor(NEW_SENSOR_RIGHT_ADDRESS);
+    status = sensor_right->init_sensor(NEW_SENSOR_RIGHT_ADDRESS);
     if (status) {
         delete sensor_right;
         delete xshutdown_right;