Did somebody set this as Homework?
I'm not getting involved in this thread, other than to say would it not be more sensible to consider using TMR1 prescaled by 8 and preloaded with $0BDC? I'll let you figure the maths and the rest from the Datasheet...
Bookmarks