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.
Diff: VL53L1X.h
- Revision:
- 2:f570ff03fb81
- Parent:
- 1:e54ded4af43a
--- a/VL53L1X.h Wed Aug 08 21:44:33 2018 +0000
+++ b/VL53L1X.h Thu Aug 09 18:12:38 2018 +0000
@@ -1271,7 +1271,6 @@
RangingData ranging_data;
uint8_t last_status; // status of last I2C transmission
-
VL53L1X();
void setAddress(uint8_t new_addr);
@@ -1315,6 +1314,8 @@
void turnOff(void);
void resetPin(void);
void turnOn(void);
+ int readFromOneSensor(void);
+
private:
@@ -1361,6 +1362,8 @@
// aren't multiple sensors being read at the same time (e.g. on separate
// I2C buses)
ResultBuffer results;
+
+ bool didInitialize;
uint8_t address;