We are a rookie team this year and have been told that doing interrupts in MPLAB is a very bad thing. We were hoping to use one so we could use two gear tooth sensors on our two tank-driving wheels during autonomous mode. We hoped to be able to count up the amount of teeth we see until it gets to a certain number and then move to the next part of the code. Would this be a bad idea? If so, what else would be able to use if we wanted to tell the robot to go so many rotations? If not, where would we find good information about interrupts?
Thanks For Your Time!