Here is a nice tutorial on how to use rotary encoders with Arduino. Example code is included.
I wanted to use a low cost rotary encoder as an input mechanism for one of my upcoming projects and was initially bewildered by the code options available to take readings from the rotary encoder and determine how many “detents” or cycles the encoder had clicked past and in what direction.
Improved Arduino Rotary Encoder Reading – [Link]
Subscribe
Login
0 Comments