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)
测距模块显示errno 110 etimedout 硬件跟着教程做的还是不行。
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)
测距模块显示errno 110 etimedout 硬件跟着教程做的还是不行。