Mike,
I am not using edu code on the bot, at the time i was using Kevin's EDU-Encoders workspace, but now I am using the FRC-Encoders.
I am pretty sure pin 1 is INT2
From user_routines_fast.c...
Code:
if (INTCON3bits.INT2IF && INTCON3bits.INT2IE) /* The INT2 pin is RB2/DIG I/O 1. */
{
INTCON3bits.INT2IF = 0;
Left_Encoder_Int_Handler(); // call the interrupt 1 handler (in encoder.c)
}
else if (INTCON3bits.INT3IF && INTCON3bits.INT3IE) /* The INT3 pin is RB3/DIG I/O 2. */
{
INTCON3bits.INT3IF = 0;
Right_Encoder_Int_Handler(); // call the interrupt 2 handler (in encoder.c)
}