![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
No range status update (error 255)
Fork of VL53L1X by
Diff: VL53L1X.h
- Revision:
- 4:a9362bc0597a
- Parent:
- 1:0d762892f7af
diff -r a7f10344f941 -r a9362bc0597a VL53L1X.h --- a/VL53L1X.h Fri Jul 20 16:39:22 2018 +0000 +++ b/VL53L1X.h Tue Jul 24 17:41:28 2018 +0000 @@ -22,10 +22,10 @@ uint8_t getDistanceMode(); uint8_t getRangeStatus(); //Returns the results from the last measurement, 0 = valid - uint8_t readRegister(uint16_t addr); //Read a byte from a 16-bit address - uint16_t readRegister16(uint16_t addr); //Read two bytes from a 16-bit address - void writeRegister(uint16_t addr, uint8_t val); //Write a byte to a spot - void writeRegister16(uint16_t addr, uint16_t val); //Write two bytes to a spot + uint8_t readRegister(uint16_t registerAddr); //Read a byte from a 16-bit address + uint16_t readRegister16(uint16_t registerAddr); //Read two bytes from a 16-bit address + void writeRegister(uint16_t registerAddr, uint8_t data); //Write a byte to a spot + void writeRegister16(uint16_t registerAddr, uint16_t data); //Write two bytes to a spot private: I2C _i2c;