|
Calling Incorrect Interrupt Handler
I'm having a few problems with my program, and I've spent quite a while trying to figure out how to fix them, to no avail.
I am using Kevin Watson's encoder driver. I did encoder testing on the EDU RC, and everything worked fine. I switched to the FRC RC, and I have hooked up the encoders as stated in the file description. So, DIG IN 1 should cause interupt 2, which will in turn call the Left_Encoder_Int_Handler(). I do not have an encoder hooked up as the right side encoder (dig in 2) The encoder itself is working fine, but it increments the right side variable instead of the left. Also, when I plug the encoder into dig in 2, which should handle the right side encoder, neither right or left gets incremented. I have configured my phase B pins in the correct way, but I dont think this is part of the problem. Does anyone know what may be wrong?
|