How to read the encoder with Arduino?

1 view (last 30 days)
tuan Huynh
tuan Huynh on 17 Dec 2016
Answered: Arun Kumar on 27 Jul 2020
How to read the encoder with Arduino? I tried but could not find the Arduino interupt 0 .... Somebody help me! Thanks!

Answers (1)

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

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!