cancel
Showing results for 
Search instead for 
Did you mean: 

How can I measure the distance using the VL53L1X sensor on the BlueTile card?

A??el
Associate

Hello All,

I am trying to measure the distance with the VL53L1X sensor on the BlueTile board. I have to read the data I get from UART. For this, I use the VL53L1X_ULD_API file. In the project, VL53L1X_SensorInit (dev);

while (tmp == 0) {

status = VL53L1X_CheckForDataReady (dev, & tmp);

} enters the endless loop. Because VL53L1X_CheckForDataReady (dev, & tmp); fonksiyonunun içindeki VL53L1_RdByte(dev, GPIO__TIO_HV_STATUS, &Temp); fonksiyonu bir değerini döndürüp tmp'yi sıfır yapmıyor. Bu da sürekli sürekli sonsuz döngüde kalmasına neden oluyor. How can I solve this problem? How can I measure the distance with the VL52L1X sensor on the BlueTile board?

0 REPLIES 0