Quote:
Originally Posted by pogenwurst
Can anyone point me in the right direction?
|
Did you enable the ISR at the top of ifi_frc.h and the timer 1 ISR in timers.h? If not, Timer_1_ISR() won't be called from Interrupt_Handler_Low() and the interrupt flag won't get cleared, causing the RLOD.
Edit: Your code looks very good. The counter variables need to be global though. My bet is that you just forgot to enable the timer 1 ISR in ifi_frc.h.
-Kevin