So I'm getting the error: Timeout on Packet Number (Infinite Loop or no call to put data)
I got the latest version of Kevin's stripped down camera code and added his eeprom and interrupts(following his instructions for how to add them). I also added my code for encoders which I have tested on a different code base and it works. When I ran the encoders off of the new code base I get the above error ONLY when I move a wheel and the interrupt routines get called. They get called around 20 times before it crashes.
I have tried adding putdata in anywhere from twice instead of once to calling it during every interrupt and I still get the same error. I have no loops at all in my code. I have tried commenting out all the function calls in Process_Data_From_Master_uP so that function only calls getdata then putdata and I still get the same error.
Anyone have any ideas?
Here is the encoder code: (which again has been tested to work)
Code:
if(ENCODER2 == INPUTTRUE){
directionTravelingOne = FORWARD;
}else{
clockwise*/
directionTravelingOne = BACKWARD;
clickRotationsOne--;
}