自分でやってみましたので説明します。
1.簡単I2Cツールのインストール:
sudo apt-get install python-smbus
sudo apt-get install i2c-tool
2. I2Cテストツールの実行
sudo i2cdetect -y 0 (if you are using a version 1 Raspberry Pi)
sudo i2cdetect -y 1 (if you are using a version 2 Raspberry Pi)
512KB版なので 下のコマンドを実行。
アドレス x20 にLCDパネルがつながっているのが確認できます。
No comments:
Post a Comment