Quote:
|
Originally Posted by phillutz
1. Can I change at least digital 6&8 to something else.
We have a wiring harness that is pulled into dig 1-11. This can be moved up to 3-13, but has to stay together...
2. Do I need to change anything in the Interrupt routines if the answer to #1 is yes?
|
Yes, you can move the encoder Quad B connections on digital inputs 6 & 8 to any other digital input pins.
You'll need to change the following two lines found in encoder.h to reflect the new digital inputs.
Code:
#define LEFT_ENCODER_PHASE_B_PIN rc_dig_in06
...
#define RIGHT_ENCODER_PHASE_B_PIN rc_dig_in08