Here is a repost from the other thread of the fix I came up with. Ok got it.... I have a 20 position 1/4 cycle rotary encoder, one of the newer ones. What I have done is change the wiring to it, and now everything works. On the 3 pin side of the rotary encoder I have GND in the middle then 8 and 9 from the project to the two outside pins 8, GND , 9. On the side with two pins I have GND , 10. The separate push button is still GND, 11.