I think you could use the Timer 1 interrupt for that.

But as Miss Melanie says:
Use the CCP.


Been on vacation (looooooooooooong vacation ), now I'm back (not that I'm very useful to the forum, I just ask a lot).