diff --git a/scripts/libraries/vl53l1x.py b/scripts/libraries/vl53l1x.py index df7f0d617..2d1614bc3 100644 --- a/scripts/libraries/vl53l1x.py +++ b/scripts/libraries/vl53l1x.py @@ -93,7 +93,7 @@ VL51L1X_DEFAULT_CONFIGURATION = bytes([ 0x01, # 0x86 : clear interrupt, use ClearInterrupt() */ 0x40 # 0x87 : start ranging, use StartRanging() or StopRanging(), If you want an automatic start after VL53L1X_init() call, put 0x40 in location 0x87 */ ]) -class VL53L0X: +class VL53L1X: def __init__(self,i2c, address=0x29): self.i2c = i2c self.address = address