Quote:
|
Encoder_3_Int_Handler(Port_B & 0x10 ? 1 : 0); // call the encoder 3 interrupt handler (in encoder.c)
|
I see it now, the XOR gate operator for Port_B_Delta is to distinguish which interrupt fired. Then the line of code above inputs a 0 or 1 into the function to tell whether a rising or falling edge has interrupted. Thank you for all your help wt200999