I’ve managed to get two VL6180x sensor breakout boards reading in Arduino’s serial monitor, but the issue is that the range seems to be offset. If I read a single sensor I have full range (0-190ish or about 19cm), but when I implement two sensors their range is cut in half (0-100ish) and they only start reading about 10cm away from the sensor. For example, 0 starts 10cm away from the sensor, and where 190mm would be, the reading is only about 100mm.
Another small thing I noticed is that if I pull the GPIO pin on one of the sensors low again after setting the i2c address, the sensor loses it’s custom address. This shouldn’t happen, should it? From what I understand, when the GPIO0/CE pin is pulled low, the device isn’t turned completely off, just put into standby mode. If that’s the case, then why does the device seemingly lose it’s address if it hasn’t been fully powered off? Maybe I’m misunderstanding the function of the GPIO0/CE pin.
If anyone has any ideas on this, please help me out! I’m stumped and have no idea where to begin.