Multiple I2C devices with Simulink

1 次查看(过去 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 CenterFile Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by