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: mbed VL53L3ExpansionBoard
Diff: Main.cpp
- Revision:
- 2:75271310def9
- Parent:
- 0:34269810c435
--- a/Main.cpp Thu Oct 15 09:39:43 2020 +0000 +++ b/Main.cpp Mon Oct 19 07:30:36 2020 +0000 @@ -21,7 +21,7 @@ #include "mbed.h" #include "NoShield53L3.h" -#include "vl53L1x_I2c.h" +#include "vl53L3_I2c.h" #include <time.h> // define I2C pins @@ -117,7 +117,7 @@ printf("Hello world!\r\n"); // start the I2C interface - vl53L1X_DevI2C *dev_I2C = new vl53L1X_DevI2C(VL53L1_I2C_SDA, VL53L1_I2C_SCL); + vl53L3_DevI2C *dev_I2C = new vl53L3_DevI2C(VL53L1_I2C_SDA, VL53L1_I2C_SCL); /* no expansion board so don't use stmpe1600. Define interupt pins, only A2 used with one sensor */