|
Re: Multiple Interrupts
I changed all the Longs to Ints
Took out the printf in the interrupt function.
And everything started to work!!!. . . With making those few changes the above code works for Digital Input 1 and Digital Input 2 Gear Tooth Sensors.
It really made me excited today when programming the robot to go *** (A calculated value) gear teeth (8 ft) forward it actually did.
__________________
2010 to Present, Scorekeeper/Field Power Volunteer for FRC/FTC/FLL
2005 - 2010, Team 171 College Mentor
2002 - 2005, Team 930 Student
|