This breadboard friendly 24-pulse rotary encoder features a handy select switch actuated by pushing in on the knob to close a separate switch. One side has a 3 pin connector (ground and two coding pins) and the other side has two pins for a normally-open switch. The unit outputs gray code so that you can tell how far and in which direction the encoder has been turned.