Reassembling Bytes
kingneb
Posts: 65
I am sending data two bits at a time over a PC parallal port.· The sx has to reassemble them as a byte.· I know how to assemble a byte from two nibbles, you swap the bits in the first nibble and perform a bitwise·OR·with the first nibble and the second one.· How do you get the SX to·assemble a byte this way?
Thank You
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
All my exes live in Texas
Oh yeah, all my exes are six feet under the ground!!!
One was a lineman who violated the one hand rule.
The·second put his tongue on 10 car batteries wired in series.
The third was involved in a tesla coil experiment gone bad.
Thank You
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
All my exes live in Texas
Oh yeah, all my exes are six feet under the ground!!!
One was a lineman who violated the one hand rule.
The·second put his tongue on 10 car batteries wired in series.
The third was involved in a tesla coil experiment gone bad.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax