Multiple I2C devices with Simulink

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개)

카테고리

도움말 센터File Exchange에서 Arduino Hardware에 대해 자세히 알아보기

질문:

2017년 7월 12일

댓글:

2017년 10월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by