Think simple ...
Hi, Andreas
A little thing ... you use a 4Mhz crystal ...
no use, then, to keep WORDS for pulse length : result always will be between 50 and 250 ... so BYTES will fit.
Will save much room ( and time ) in the calculation part !!!
But if you want to use 20 Mhz crystal ... you have to keep the WORDS.
Alain
Last edited by Acetronics2; - 1st June 2007 at 15:36.
************************************************** ***********************
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