Christopher,
IF you'd wanted to use HPWM ... there's a Timer1 unused aboard your chip ... YESS !
So, running TMR1 as a free timer and toggling the led at each TMR1 overflow interrupt ... will do the job. A basic interrupt should be enough ...
Without any "external" counter, you should get a ~ 1 sec maximum period @ 4 Mhz clock ...
Alain
PS: It's a bit like giving marmelade to a pig ... but, if unused ...
Last edited by Acetronics2; - 1st August 2006 at 12:49.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks