mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
fixed class name
VL53L0X => VL53L1X
This commit is contained in:
parent
7b4b9214cb
commit
2a8d54aad7
@ -93,7 +93,7 @@ VL51L1X_DEFAULT_CONFIGURATION = bytes([
|
|||||||
0x01, # 0x86 : clear interrupt, use ClearInterrupt() */
|
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 */
|
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):
|
def __init__(self,i2c, address=0x29):
|
||||||
self.i2c = i2c
|
self.i2c = i2c
|
||||||
self.address = address
|
self.address = address
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user