This library allows you to read from multiple VL53L1X sensors.
Fork of VL53L1X_Pololu by
Diff: VL53L1X.h
- Revision:
- 2:f570ff03fb81
- Parent:
- 1:e54ded4af43a
diff -r e54ded4af43a -r f570ff03fb81 VL53L1X.h --- 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;