Multiple I2C devices with Simulink

4 ビュー (過去 30 日間)
Sarah
Sarah 2017 年 7 月 12 日
コメント済み: Chris 2017 年 10 月 24 日
I have two sensors with the same fixed address, is there any way I can communicate with both using the I2C blocks in Simulink? I am using an Arduino Due that has two SDA/SCL ports. I know that this is doable in the Arduino IDE, but I'm not sure how to do it using Simulink.
  1 件のコメント
Chris
Chris 2017 年 10 月 24 日
What sensor do you use? Most time you can switch between 2 fixed adresses.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by