Raspberry Piでのi2c通信(PCA9685)

6 views (last 30 days)
K N
K N on 12 Nov 2018
Edited: Kei Otsuka on 14 Nov 2018
Matlabを使ってRaspberry Pi上でPCA9685とi2c接続し、PWM出力を行いたいのですが、 PCA9685のライブラリはありますでしょうか。 また、PCA9685とi2c接続するサンプル等ありましたら教えてください。

Accepted Answer

Kei Otsuka
Kei Otsuka on 12 Nov 2018
Edited: Kei Otsuka on 14 Nov 2018
PCA9685のライブラリはありませんが、I2C経由でレジスタアクセスはできそうです。
以下のページが参考になるかと思います。
 
デバイス(PCA9685)端子の電気的特性等を確認してから
Raspberry Piへ接続ください。

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!