Closed 2bndy5 closed 4 years ago
I've got a few of the VL53L0X sensors on the way. I will test these changes with multiple sensors once they arrive.
@FoamyGuy Are they Adafruit branded breakouts or generic? I tested this with 2 generic sensors using the new "multiple_sensors" example script that I added, and it worked fine. I do welcome confirmation though :)
@2bndy5 They are Adafruit breakout boards. I will get this tested over the weekend.
Yeah!
Excellent! Thank you @2bndy5 and @FoamyGuy!
set_address()
to the VL53L0X class. This function follows the Arduino library API meaning the new address is internally saved appropriately.set_address()
function in concert with the "SHDN" pin. Also included a link in the API docs to this example. Additionally, I've made the example easily modify-able for applications with more than 2 VL53L0X sensors. Comments also hint at current consumption requirements.Question
I've hinted at the different labeling on non-Adafruit branded breakout boards ("SHDN" on adafruit breakouts = "XSHUT" on non-Adafruit breakouts). I don't want to overstep, and since the library is maintained by Adafruit, is it ok to mention non-Adafruit branded labeling?