How to read the encoder with Arduino?

How to read the encoder with Arduino? I tried but could not find the Arduino interupt 0 .... Somebody help me! Thanks!

Réponses (1)

Arun Kumar
Arun Kumar le 27 Juil 2020

0 votes

Hi Tuan,
Support for Arduino external interrupt was added in R2019a. You can use "External Interrupt" block to read encoder values.
Thanks,
Arun

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by