|
Re: Multiple Interrupts
I have been trying to get Interrupts 2 and 3 working that would be on pins 1 and 2 of the Digital Inputs. I have the code and I seem to get in an infinite loop on the left gear tooth sensor. . . The interrupt keeps going and makes both the right and left gear boxes go full 254 forward.
Right GTS doesn't work at all. (yes we have tested the GTS after we fixed the resistors problem and it works fine)
Can someone see where I messed up??? Copied the code from Kevin Watson's Encoder Code.
__________________
2010 to Present, Scorekeeper/Field Power Volunteer for FRC/FTC/FLL
2005 - 2010, Team 171 College Mentor
2002 - 2005, Team 930 Student
|