VL53L3CX Ranging example, using X_NUCLEO_53L3A2 expansion shield, and interrupts. Targeted at MbedOS v6.10.0.

Dependencies:   X_NUCLEO_53L3A2

Files at this revision

API Documentation at this revision

Comitter:
johnAlexander
Date:
Mon May 10 13:02:34 2021 +0000
Parent:
7:bd1ddfbee3ef
Commit message:
Updated comments.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon May 10 12:48:51 2021 +0000
+++ b/main.cpp	Mon May 10 13:02:34 2021 +0000
@@ -1,16 +1,14 @@
 /*
  * This VL53L3 Expansion board test application performs range measurements
- * using the onboard embedded centre sensor, in interrupt mode.
- * Measured ranges are ouput on the Serial Port, running at 115200 baud.
- *
- * The User Blue button stops the current measurement and entire program,
- * releasing all resources.
+ * using the onboard embedded sensor, in interrupt mode.
+ * Measured ranges are output on the Serial Port, running at 115200 baud.
  *
  * The Reset button can be used to restart the program.
  *
  * *** Note :
- * Default Mbed build system settings disable print floating-point support.
- * Offline builds can enable this, again.
+ * Default Mbed build system settings disable printf floating-point support.
+ * Online builds seem unable to configure this.
+ * Offline builds can enable printf floating-point support.
  * https://github.com/ARMmbed/mbed-os/blob/master/platform/source/minimal-printf/README.md
  * .\mbed-os\platform\mbed_lib.json
  *
@@ -102,8 +100,6 @@
 
 
 VL53LX_Dev_t devCentre;
-//VL53LX_Dev_t devLeft;
-//VL53LX_Dev_t devRight;
 VL53LX_DEV Dev = &devCentre;