I should add, you cannot use an "8PDT" rotary. It must be a "Real code rotary encoder" which will have 4 pins: Common, 0, 1, 2. Common goes to Vcc, which is all on one side of the jumper header and then S0, S1, S2 to the 0, 1, 2 pins on the encoder. This switch at mouser is an example of such a...