Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: VL53L1CB
Dependents: VL53L1CB_NoShield_1sensor_polling_multizone_MB6 VL53L1CB_NoShield_3sensors_interrupt_ranging_MB6 VL53L1CB_NoShield_MB6_3sensors_interrupt_ranging VL53L1CB_shield_1sensor_interrupt_auton ... more
Diff: XNucleo53L1A1.cpp
- Revision:
- 3:ac8e3765ece8
- Parent:
- 2:4c77be1be0e3
--- a/XNucleo53L1A1.cpp Sun Nov 08 13:51:43 2020 +0000
+++ b/XNucleo53L1A1.cpp Sun Nov 08 14:58:47 2020 +0000
@@ -64,7 +64,7 @@
printf("Sensor centre present\n\r");
n_dev++;
}
-#if (MBED_VERSION > 60100)
+#if (MBED_VERSION > 60300)
thread_sleep_for(2);
#else
wait_ms(2); // NEEDS A DELAY BETWEEN SENSORS
@@ -87,7 +87,7 @@
n_dev++;
}
-#if (MBED_VERSION > 60100)
+#if (MBED_VERSION > 60300)
thread_sleep_for(50);
#else
wait_ms(50); // NEEDS A DELAY BETWEEN SENSORS
@@ -106,7 +106,7 @@
printf("Sensor right present\n\r");
n_dev++;
}
-#if (MBED_VERSION > 60100)
+#if (MBED_VERSION > 60300)
thread_sleep_for(50);
#else
wait_ms(50); // NEEDS A DELAY BETWEEN SENSORS