unless you give your code, we can't and we don't want to bet on what are the possible cause of it.
unless you give your code, we can't and we don't want to bet on what are the possible cause of it.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hi, Steve
That smells hard a Forgotten Right Justification config ....
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 " !!!
*****************************************
shhhhut! Shure it could be that or just forgotten bit shifting, depending the method used
...mmm sounds the same... i really need to go to sleep. Bonne nuit a la France![]()
Last edited by mister_e; - 30th April 2006 at 09:46.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hi,
Just,
I need to write code when I am awake.
I have left justified, thus adressh is bits 3 -10 (0 - 7) and address l is bits 1 -2 (6 -7), thus
values is from 00000000(h) 00000000(l), 00 00 hex , 0000 decimal
to 11111111(h) 11000000(l), FF C0 hex , 65472 decimal
Where if I had right justified, thus adressh is bits 9 - 10 (0 - 1) and address l is bits 1 - 8 (0 - 7), thus
values is from 00000000(h) 00000000(l), 00 00 hex , 0000 decimal
to 00000011(h) 11111111(l), 03 FF hex , 1023 decimal
thks
Peter
Pete
Bookmarks