Baffled by Encoder

We are using encoders on our transmissions. We are using Kevin Watson’s Encoder library (from last year, not new).

In our experiments (due to things not working) we can move the encoder connections from 1-11 to 2-12, etc. Only 1,2,3 work, 4,5, & 6 do not.

This completley baffling to me. I’ve poked in some printfs in the interrupt handlers with enough information before crashing that the correct handler is getting called but not recording (I think down) transitions. That is the count is never incremented.

I’m not sure what’s hapenning or why the same encoder that works on port 3 does not work on 4, 5, or 6.

Any ideas would be most helpful.

Thanks,
…Duane

Nevermind.

We’ve been moving ports around and forgot that 14 and 15 were programmed as OUTPUTs. Doh!

Back to pits.