Encoders with x2

How can i use the encoders on the 37d mm gearmotors with an x2? would i have to give up four of my analog input pins?

Hello.

You should be able to use the Pololu Wheel Encoders library. You do not have to give up analog pins (in fact, the library doesn’t work with port A anyway), you can use digital pins. I recommend using pins on port D.

- Ryan