Merge pull request #476 from kidswong999/patch-2

fixed class name
This commit is contained in:
Ibrahim Abd Elkader 2019-03-12 02:34:04 +02:00 committed by GitHub
commit bfca0bb891
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