Tell us about yourself!
Hi! Thank you for your comment - it has been a while since I worked with this project. I believe that the other phase from the encoder would be used to determine the direction the motor is travelling. The interrupt routine would have to be modified to read the other phase and adjust your counting variable appropriately based on the direction sensed.