Interrupts to read from a rotary encoder with Matlab

check my lib - Lightweight Arduino Library for Rotary Encoder - #9 by enjoyneering - Sensors - Arduino Forum