Adding Quad Encoders to VEXCode program

Hi all, I’m trying to add an encoder to my VEXCode program, but I am unsure how to tell the code the two different ports the encoder is in. image
This is what I have so far, the encoder is in three wire ports A and B.

Encoders are assumed to be placed in the port you specify and the port directly next to it. A complication is that only some pairs can be used. These pairs are, AB, CD, EF, and GH. We tried to connect to FG and that did not work.

1 Like