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 comentario

Chris
Chris el 24 de Oct. de 2017
What sensor do you use? Most time you can switch between 2 fixed adresses.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Arduino Hardware en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 12 de Jul. de 2017

Comentada:

el 24 de Oct. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by