Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added ability to use multiple VL53L0X on the same I2C bus #12

wants to merge 3 commits into
base: master


Copy link

2bndy5 commented Nov 15, 2019

  • added set_address() to the VL53L0X class. This function follows the Arduino library API meaning the new address is internally saved appropriately.
  • included "important" admonished note about managing the "SHDN" pin as that falls outside the scope of the class/library
  • added an example of how to use the new 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.


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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.