You're only sending one byte, but expecting to receive 6? How does that work?
And your SEROUT doesn't make a lot of sense...
You're shifting id up 6 bits, adding in a number that may or may not fit into those next 3 bits, and doing the same thing with the last number. What's up with that?
Maybe it would be best if you showed your code rather than your broken snippets.
Bookmarks