如何修复 Raspberry Pi i2cdetect: command not found
问题:
尝试在 Raspberry Pi (Raspbian) 上使用 i2cdetect 检测 I2C 设备时,你看到以下错误:
i2cdetect_error_output.txt
$ i2cdetect
bash: i2cdetect: command not found解决方案
使用以下命令安装 i2c-tools
install_i2c_tools.sh
sudo apt -y install i2c-tools安装 i2c-tools 后,你可以使用 i2cdetect 和其他相关工具如 i2cget。
Check out similar posts by category:
Embedded, Linux, Raspberry Pi
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow