File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
- # SPDX-FileCopyrightText: 2021 wrdaigle for Adafruit Industries
1
+ # SPDX-FileCopyrightText: 2022 wrdaigle for Adafruit Industries
2
2
#
3
3
# SPDX-License-Identifier: MIT
4
4
44
44
# no need to change the address of the last VL53L1X sensor
45
45
if i < len (xshut ) - 1 :
46
46
# default address is 0x29. Change that to something else
47
- vl53 [i ].set_address (
48
- i + 0x30
49
- ) # address assigned should NOT be already in use
47
+ vl53 [i ].set_address (i + 0x30 ) # address assigned should NOT be already in use
50
48
# there is a helpful list of pre-designated I2C addresses for various I2C devices at
51
49
# https://learn.adafruit.com/i2c-addresses/the-list
52
50
# According to this list 0x30-0x34 are available, although the list may be incomplete.
You can’t perform that action at this time.
0 commit comments