Chapter 8 code tests

This commit is contained in:
Danny Staple
2022-05-07 19:42:27 +01:00
parent 2ce844a9ee
commit a0233e46ca
3 changed files with 12 additions and 4 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ i2c0 = busio.I2C(sda=board.GP0, scl=board.GP1)
i2c1 = busio.I2C(sda=board.GP2, scl=board.GP3)
## If you accidentally pass the same bus twice, you'll get the same measurements
vl53_r = adafruit_vl53l1x.VL53L1X(i2c0)
vl53_l = adafruit_vl53l1x.VL53L1X(i2c1)
vl53_l = adafruit_vl53l1x.VL53L1X(i2c0)
vl53_r = adafruit_vl53l1x.VL53L1X(i2c1)
# we want it short range