...
The only solution for timer 1 to overflow every 5 sec is to run the CPU clock @ 400 khz ...
Depends on what you intend to do ...
but
Code:
IF I detect something
Do something .... for 5 sec
Wait for detect.
Generally is solved by sleep/ wake use of the µP ...
Alain
************************************************** ***********************
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