|
Re: Timers causing code errors?
Are you using a hardware timer? If so, which timer? Timer 0 is used by the Generate_PWMs() function in the standard IFI librarys. Trying to use it for your timer will play heck with things for certain.
If not, have you implemented your interrupt routine correctly? Are you not clearing the interrupts flag? Are you staying in the interrupt routine too long? Are you possibly corrupting some of your memory with your interrupt routine?
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.
Lone Star Regional Troubleshooter
|