You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for an ESP32-based project, we needed a way to distribute sensors on the two separate hardware wires (Wire. and Wire1.). The modified version of the lib is attached (VL53L0X-2xI2C.zip).
@kevin-pololu Changes are straight forward. Would be great if this could be integrated into the master branch at some point.
For what it is worth, I made a similar change, the main difference was I put the option Wire object on the constructor instead of on the init. Either is fine.
I went ahead and made a Pull Request (#45) to see if they are receptive to this.
There are some other features I am going to play with as well. Trying to decide to do it here or with the Adafruit_VL5310X library, which supports this, and is made up the the ST SDK, and mainly only has a single Range function exported as part of the main .h/cpp files.
We just merged KurtE's pull request, although we ended up changing it so selecting a different I2C bus is done with separate functions (setBus() and getBus()) instead of through the constructor or init(). Thanks for your contribution though!
Hi there,
for an ESP32-based project, we needed a way to distribute sensors on the two separate hardware wires (
Wire.
andWire1.
). The modified version of the lib is attached (VL53L0X-2xI2C.zip).@kevin-pololu Changes are straight forward. Would be great if this could be integrated into the master branch at some point.
How to use:
Cheers,
Torben
The text was updated successfully, but these errors were encountered: