bitbank2 / VL53L0X

A simple C library to read the distance values from the VL53L0X time of flight sensor
Other
54 stars 23 forks source link

Change i2c address #2

Open arturrataj opened 5 years ago

arturrataj commented 5 years ago

https://github.com/adafruit/Adafruit_VL53L0X/blob/master/src/core/src/vl53l0x_api.cpp

define VL53L0X_REG_I2C_SLAVE_DEVICE_ADDRESS 0x008a

VL53L0X_WrByte(Dev, VL53L0X_REG_I2C_SLAVE_DEVICE_ADDRESS, DeviceAddress / 2);