Rtfm !!!
Pfouuuuuh !!!
A is a Byte - Lower Part of THE 16bits value VAL
B is a Byte - Higher Part ....
VAL.Lowbyte = A
VAL.Highbyte = B
That'a All ...
and VAL >> 6 is What you look for.
Final point.
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