Quote:
|
Originally Posted by Jon236
Why then, does Kevin's encoder routine use pins 1 and 6 for one side and 2 and 8 for the other?
|
It doesn't. It uses 1 and
7 for one, and 2 and 8 for the other. 1-6 can be hardware interrupts, and 7-16 cannot. This means that you're pretty much limited to six digital encoders.