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

相关文章:

  • 2021-10-08
  • 2021-12-24
  • 2021-09-13
  • 2021-08-21
  • 2021-12-08
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-20
  • 2022-01-02
  • 2022-12-23
  • 2021-07-04
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案