Using the gear tooth sensor, how many can encoder the code support? I am unsure how many external interrupts exist on this chip…
There are six digital input pins which can interrupt the processor. Two of them are very easy to connect gear tooth sensors to and program for. The other four take a bit more complexity in software to use well.
Ok, I understand, thanks!
to make things easier, use Kevin’s encoder code (kevin.org/frc) and just modify the Phase-B out of it.