Read encoder using arduino mega and simulink

Hello, I am programming an Arduino Mega as target hardware with Matlab simulink, and would like to know a way to use interrupts in my program, I need them to read a encoder. No arduino bloc of the support package allow such a thing

3 commentaires

The same questions !
How would the Simulink know that it is being interrupted? Generally the same mechanism can be used to signal a triggered subsystem.

Connectez-vous pour commenter.

Réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by