Multiple I2C devices with Simulink

4 vues (au cours des 30 derniers jours)
Sarah
Sarah le 12 Juil 2017
Commenté : Chris le 24 Oct 2017
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 commentaire
Chris
Chris le 24 Oct 2017
What sensor do you use? Most time you can switch between 2 fixed adresses.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Arduino Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by