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: X_NUCLEO_53L1A2
Diff: main.cpp
- Revision:
- 1:49e2fad70dfe
- Parent:
- 0:50b05f035d13
- Child:
- 2:ef5e40bad526
--- a/main.cpp Mon Oct 26 13:34:03 2020 +0000
+++ b/main.cpp Fri Nov 06 15:01:59 2020 +0000
@@ -86,10 +86,8 @@
status = Sensor->vl53L1_DataInit();
status = Sensor->vl53L1_StaticInit();
status = Sensor->vl53L1_SetPresetMode( VL53L1_PRESETMODE_MULTIZONES_SCANNING);
-// status = Sensor->vl53L1_SetDistanceMode( VL53L1_DISTANCEMODE_LONG);
-// status = Sensor->vl53L1_SetMeasurementTimingBudgetMicroSeconds( 100 * 1000);
-// status = Sensor->vl53L1_SetInterMeasurementPeriodMilliSeconds( 100);
-
+ status = Sensor->vl53L1_SetDistanceMode( VL53L1_DISTANCEMODE_LONG);
+
VL53L1_RoiConfig_t roiConfig;
roiConfig.NumberOfRoi =3;