![]() |
Encoders and putdata
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){ |
Re: Encoders and putdata
Quote:
Please cut and paste your entire interrupt handler and your InterruptHandlerLow function including all #pragmas. |
Re: Encoders and putdata
Code:
/*******************************************************************************Code:
/******************************************************************************* |
Re: Encoders and putdata
Quote:
|
| All times are GMT -5. The time now is 22:05. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi