Hi, everyone I have problem which is quite trivial but has taken me days now. All I want to do is set up a timer interrupt to trigger every 0.9525 milliseconds on a PIC 18F4431. The interrupt routine itself only switches a pin on and off just so I can measure whether the interrupt is working properly or not. I have never used interrupts in C18 before and I’m not too sure if it's set correctly. I've used Priority setup for the ISR although I don't really want too, but these were the only examples I could find. Attached is the code I’ve used, the last bit is just to set up a PWM signal which works fine. Any help would be great as this is driving me crazy. Oh, im writting the program in the new version of MPLAB IDE using the C18 compiler.