adafruit / Adafruit_CircuitPython_VL53L1X

CircuitPython module for interacting with the VL53L1X distance sensor.
MIT License
8 stars 10 forks source link

Added set_address function to allow use of multiple devices on one bus #3

Closed wrdaigle closed 2 years ago

wrdaigle commented 2 years ago

Allows the user to update the address of individual sensors while other are turned off so multiple sensors can be used on the same i2c bus. Additions include a new set_address function and an associated sample script.

Much of this code has been adapted from: https://github.com/adafruit/Adafruit_CircuitPython_VL53L0X

caternuson commented 2 years ago

lgtm2

wrdaigle commented 2 years ago

Thanks @ladyada and @caternuson!