watersidedesigns
asked on
Byte information
Dear Sirs,
I have read a single byte from a serial port and the value is &H89
This byte contains two bits of information (the first four bits contain the first part the last four bits contain the other value) How can I seperate these two pieces of data from this single byte?
Many thanks
I have read a single byte from a serial port and the value is &H89
This byte contains two bits of information (the first four bits contain the first part the last four bits contain the other value) How can I seperate these two pieces of data from this single byte?
Many thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Grr, replace txtIn.Text with strInput. I was copying from my test code and forgot to adjust that. Sorry!
ASKER
Hi ElrondCT,
Thats most helpful - thanks.
Thats most helpful - thanks.