So I'm using an encoder on my Teensy 3.2. Had it wired up on pin 6, and pin 7, working perfectly. I'm aware that the Teensy 3.2 has digital pins where the analog pins are as well, so I moved the wires and GND over to pins 14, 15, and changed my pin declaration inside the code and it doesn't work. Tried other pins on the analog side, nothing works. Moved the pins back to 6 and 7, it works, just doesn't seem to work on the analog side of the board.

Anyone come across this?