Nope...
Scaler = Divider, prescaler = predivider, postscaler = postdivider
Must've missed my suggestion to search for PIC Multi-Calc...I was just reading thread about instruction execution time by Darrel Taylor and after testing I can easily calculate what it takes to do ADC, CCP, etc. Probably I can even make a simple software clock and add to the clock execution time to compensate missing nanoseconds/milliseconds. I think interrupt clock is much easier and faster to write but what would you recommend interrupt or software clock?
If you're using interrupts, you don't have to count the ADC, the CCP, any of that. The interrupt will INTERRUPT every xxx microseconds (or instruction cycles, whatever) and run the interrupt subroutine. Look in the PBP manual under ON INTERRUPT, or if you're feeling froggy, search here for Instant Interrupts.
And think about this...do you really need an exact 1 second interrupt? I'd just concentrate on getting it all working first, then add in some interrupt routines.





Bookmarks