Open
Description
in the VL53l1X code I get errors like:
Traceback (most recent call last):
File "code.py", line 30, in
File "adafruit_vl53l1x.py", line 304, in roi_xy
When I run the following lines:
i2c = busio.I2C(board.GP1, board.GP0) # uses board.SCL and board.SDA
i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
vl53 = adafruit_vl53l1x.VL53L1X(i2c)
....
print(vl53.roi_xy)
vl53.roi_xy = (16,16)
print(vl53.roi_center)
vl53.roi_center = 199
I opened a pull request for code that appears to work before I addressed these issues. I'm sorry. Next time, I will do it in the right order.
Metadata
Metadata
Assignees
Labels
No labels