Quote:
|
Originally Posted by jgannon
Whoa, that's weird. I apparently have an older version; my encoder.c looks completely different from what I just downloaded from kevin.org. Yeah, that doesn't make any sense to me... it should be on 7, not 6.
|
No, 6 & 8 is correct. I changed it because I got a nasty gram from someone who hadn't made I/O 7 an input, which caused the encoder to count in one direction only. 6 & 8 are inputs by default. This text was added to the readme.txt file for this very reason:
3) Digital I/O pins one, two, six and eight are configured as
inputs in user_routines.c/User_Initialization(). If you notice
that the encoder only counts in one direction, you forgot to
do this step.
-Kevin