fixed class name

VL53L0X => VL53L1X
This commit is contained in:
王开智 2019-03-11 13:47:22 +08:00 committed by GitHub
parent 7b4b9214cb
commit 2a8d54aad7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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