Tried adding this piece of code
noInterrupts();myCount=encoderCount; interrupts();
Tried putting it inside the readEncoder functions after the encoderCount update. It didn't seem to make any difference.
Tried adding this piece of code
noInterrupts();myCount=encoderCount; interrupts();
Tried putting it inside the readEncoder functions after the encoderCount update. It didn't seem to make any difference.