I2C OSError:[Errnor]5报错(已解决)
2021-04-068093
AI 快速预览详细
本文介绍了在使用MaixPy_scripts中的vl53l1x例程时遇到的I2C OSError: [Errno 5]报错问题。通过检查I2C连接、确认传感器地址和初始化代码,最终解决了该问题。文章提供了详细的排查步骤和解决方案,帮助用户快速解决这一常见问题。
|
如图 读到了设备序号但是还是报错 使用的是官网的vl53l1x例程 接的传感器也是vl53l1x https://github.com/sipeed/MaixPy_scripts/blob/master/modules/spmod/sp_tof/demo_vl53l1x.py |
-
TueApril-202104061176..png (6.52 KB, 下载次数: 4675)

![I2C OSError: [Errno 5] 报错解决 | DF创客社区_image_1.webp](https://imagemc.dfrobot.com.cn/download/file/attachment.png?imageView2/2/format/webp/q/80)




你试试
devices = i2c.scan()
然后print设备信息看看