Go Down

Topic: rotary encoder not recognize (Read 604 times) previous topic - next topic

matheynen

Hi, I have this basic rotary encoder : my rotary.
It works very well with an UNO.
I use this library : github library

But now I'm trying to use with a Due with no result.
There is special pin to use, resitance to put before ?

Thanks for help

ard_newbie


No need of any library:

Read the encoder datasheet page 1 for the CW and CCW waveforms, use 2 attachinterrupt() (one for each input signal) and you are done !

Go Up