LoginSignup
0
0

More than 1 year has passed since last update.

RaspberryPi i2c 設定/有効化

Last updated at Posted at 2022-09-08

RaspberryPi i2c 設定

便利ツール

# i2cdetectを使うのに必要
sudo apt install -y i2c-tools

有効化

現状確認
1なら無効 / 0なら有効

raspi-config nonint get_i2c

有効化


sudo raspi-config nonint do_i2c 0
# Camera 設定 有効
sudo raspi-config nonint do_camera 1

# 反映のため再起動
sudo reboot

使用アドレスの確認

sudo i2cdetect -y 1
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0