changing the pins in rotaryEncoder

Hi
I'm using rotary encoder in my project and I know for reading the position and speed of the encoder I could use rotaryEncoder command in Matlab, the pins in rotaryEncoder command are 2 and 3, I want to change these pins number to different pins such as 5 and 6 ,is there any way to change this pins?

Réponses (0)

Catégories

En savoir plus sur Scope Variables and Generate Names dans Centre d'aide et File Exchange

Question posée :

le 23 Fév 2019

Commenté :

le 24 Fév 2019

Community Treasure Hunt

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

Start Hunting!

Translated by