respberry Pi - I2C 使用 记要
- respberry上使用i2c,首先要进行i2c enable
- /etc/modprobe.d/raspi-blacklist.conf
#blacklist i2c-bcm2708
- /etc/modules
# /etc/modules: kernel modules to load at boot time.
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
i2c-dev
本文介绍如何在 Raspberry Pi 上启用 I2C 功能。首先需要编辑配置文件 /etc/modprobe.d/raspi-blacklist.conf,取消 i2c-bcm2708 的黑名单设置。接着在 /etc/modules 文件中添加 i2c-dev 行以确保内核模块加载。这些步骤是使用 Raspberry Pi 进行 I2C 通信的基础。
99

被折叠的 条评论
为什么被折叠?



