Think simple ...
Hi, Piombazzo
What about
....
Portd = Portd | %00000110
PAUSEUS 15 000 ( or a variable ...)
Portd = Portd & %11111001
....
Just an idea for perfect sync.
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