diff --git a/examples/vl53l0x_multiple_sensors.py b/examples/vl53l0x_multiple_sensors.py index f797cdc..b9ed531 100644 --- a/examples/vl53l0x_multiple_sensors.py +++ b/examples/vl53l0x_multiple_sensors.py @@ -14,7 +14,8 @@ from adafruit_vl53l0x import VL53L0X # declare the singleton variable for the default I2C bus -i2c = board.I2C() +i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller # declare the digital output pins connected to the "SHDN" pin on each VL53L0X sensor xshut = [ diff --git a/examples/vl53l0x_multiple_sensors_continuous.py b/examples/vl53l0x_multiple_sensors_continuous.py index e76dabc..e1335c8 100644 --- a/examples/vl53l0x_multiple_sensors_continuous.py +++ b/examples/vl53l0x_multiple_sensors_continuous.py @@ -27,7 +27,8 @@ from adafruit_vl53l0x import VL53L0X # declare the singleton variable for the default I2C bus -i2c = board.I2C() +i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller # declare the digital output pins connected to the "SHDN" pin on each VL53L0X sensor xshut = [ @@ -71,7 +72,7 @@ # In the python REPR, you can scan for all I2C devices that are attached and detirmine # their addresses using: # >>> import board -# >>> i2c = board.I2C() +# >>> i2c = board.I2C() # uses board.SCL and board.SDA # >>> if i2c.try_lock(): # >>> [hex(x) for x in i2c.scan()] # >>> i2c.unlock()