python smbus IOError: [Errno 2] No such file or directory
2020-12-13 04:31
阅读:397
标签:class sudo www div ioerror http asp org 保存
1.打开配置文件
sudo nano /boot/config.txt
打开以下选项
"dtparam=i2c_arm=on"
ctrl + o 保存
ctrl + x 退出
2.刷新配置文件
sudo raspi-config
3.打开 I2c选项
4.重启
5.再次运行
参考:
https://www.raspberrypi.org/forums/viewtopic.php?t=100189
python smbus IOError: [Errno 2] No such file or directory
标签:class sudo www div ioerror http asp org 保存
原文地址:https://www.cnblogs.com/sea-stream/p/11111827.html
文章来自:搜素材网的编程语言模块,转载请注明文章出处。
文章标题:python smbus IOError: [Errno 2] No such file or directory
文章链接:http://soscw.com/essay/29570.html
文章标题:python smbus IOError: [Errno 2] No such file or directory
文章链接:http://soscw.com/essay/29570.html
评论
亲,登录后才可以留言!