logo

使用TOF测距拓展板

2021-07-31 14:41
J
dpt5

我只是使用测距拓展板,看看TOF的准确度怎么样,为什么老是报这个错误,连接是没有问题的,先是有数据然后就报错

191a3dfc-2014-4a2d-aae9-c382070b433e.png
from machine import I2C
from vl53l1x import VL53L1X
import time

i2c = I2C(2)
distance = VL53L1X(i2c)

while True:
    print("range: mm ", distance.read())
    time.sleep_ms(50)
2021-08-01 11:12
I
网红小智智 星瞳科技

OpenMV是否焊接了插针。