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!

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

Asked:

on 17 Dec 2016

Answered:

on 27 Jul 2020

Community Treasure Hunt

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

Start Hunting!