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_53L3A2
Diff: Main.cpp
- Revision:
- 3:7826b7dbd1b0
- Parent:
- 1:9ea3593bac93
- Child:
- 4:9fad37a914cd
--- a/Main.cpp Fri Oct 30 15:33:32 2020 +0000 +++ b/Main.cpp Tue Nov 03 15:30:12 2020 +0000 @@ -12,11 +12,11 @@ //Main_single_polling.h #include <stdio.h> +#include <time.h> #include "mbed.h" #include "XNucleo53LX.h" #include "vl53L3_I2c.h" -#include <time.h> // define i2c mcu pins @@ -31,6 +31,7 @@ VL53LX_Dev_t devCentre; VL53LX_Dev_t devLeft; VL53LX_Dev_t devRight; + VL53LX_DEV Dev = &devCentre;