Quote:
Originally Posted by Kevin Watson
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
|
I too am having trouble getting the gear tooth sensor to work using your (Kevin's) code. I also have my GTS connected to digital port 11 with a PWM cable. It works with easyc. What is a "phase a input", and don't you mean digital input 11?
Thanks
Scott