Hi, ted
Supposing you use Zaeler_BYTE as a Word ( Good question ... indeed ) :
As you increment Zaeler_BYTE , you'll reach an overflow ( and return to Zero ) for Zaeler_BYTE = 65536 ...
so, you'll count from 60 000 to 60535 ...
that makes ??? loops ...
BUT ... as it is Zaeler_BYTE ...
Overflow will occur for Zaeler_BYTE = 256
And you'll count only from 96 ( 60 000 Lower Byte ) to 255 ...
that really makes ??? ... loops
Jawohl ???
Alain
PS: we suppose A is an input state ... and can be 0 or 1 ...
Last edited by Acetronics2; - 25th June 2008 at 12:30.
************************************************** ***********************
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