Quote:
Originally Posted by Sykan
...and a pwm connected to the Rc digital input 11.
|
This at least one of your problems. You should be using the phase a input on digital input 1. Then make sure to modify the encoder.c/Int_1_ISR() function to look like this:
Code:
void Int_1_ISR(void)
{
Encoder_1_Count += ENCODER_1_TICK_DELTA;
}
-Kevin