We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c711604 commit 2876fdaCopy full SHA for 2876fda
1 file changed
python/VL53L1X.py
@@ -75,7 +75,7 @@ def __init__(self, i2c_bus=1, i2c_address=0x29, tca9548a_num=255, tca9548a_addr=
75
self.i2c_address = i2c_address
76
self._tca9548a_num = tca9548a_num
77
self._tca9548a_addr = tca9548a_addr
78
- self._i2c = SMBus(1)
+ self._i2c = SMBus(i2c_bus)
79
self._dev = None
80
# Resgiter Address
81
self.ADDR_UNIT_ID_HIGH = 0x16 # Serial number high byte
0 commit comments