prry / rtt-vl53l0x Goto Github PK
View Code? Open in Web Editor NEWTime of Flight sensor driver for VL53L0X
License: Apache License 2.0
Time of Flight sensor driver for VL53L0X
License: Apache License 2.0
list_device
, sensor probe tof_vl53l0x
, sensor info
都没问题, 但是sensor read 3
就是不能读数据, 显示iic通信错误, 我看您的博客文章下方也有人有同样的问题, 自行尝试解决无果. 请问出现了如上这种情况是什么原因呢? 下面是串口log:
msh >list_device
device type ref count
-------- -------------------- ----------
tof_vl53 Sensor Device 0
spi20 SPI Device 0
spi2 SPI Bus 0
i2c1 I2C Bus 0
uart6 Character Device 1
uart3 Character Device 1
uart1 Character Device 3
pin Miscellaneous Device 0
msh >sensor probe tof_vl53l0x
�[32m[I/sensor.cmd] device id: 0xee!�[0m
msh >sensor info
vendor :STMicroelectronics
model :vl53l0x
unit :mm
range_max :2000
range_min :0
period_min:100ms
fifo_max :0
msh >sensor read 3
�[31m[E/vl53l0x] i2c bus read failed!
�[0m
�[31m[E/sensor.cmd] read data failed!size is 0�[0m
�[31m[E/vl53l0x] i2c bus read failed!
�[0m
�[31m[E/sensor.cmd] read data failed!size is 0�[0m
�[31m[E/vl53l0x] i2c bus read failed!
�[0m
�[31m[E/sensor.cmd] read data failed!size is 0�[0m
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.