Rotary encoders are used similarly to potentiometers. They’re different from potentiometers in that an encoder has full rotation without limits. They output [gray code](http://en.wikipedia.org/wiki/Gray_code) so that you can tell how much and in which direction the encoder has been turned.
This encoder is especially cool because it has a red/green LED built in, as well as a push-button. This version has an updated material that is heat resistant and slightly changed dimensions, but should still work well with our rotary encoder breakout board and the clear knob.
* Switch Travel: 0.5mm
* Shaft Diameter: 6.0mm
* Shaft Length: 18mm
* Vertical Through-Hole Mount
* Red/Green LED
* [Dimensional Drawing](https://cdn.sparkfun.com/assets/4/2/9/a/a/Part_5239_EC12PLGRSDVF-D-25K-24-32___07-6H_H_.pdf)
* [Example Code](https://github.com/sparkfun/Rotary_Encoder_Breakout-Illuminated/tree/master/Firmware)