The Student Room Group

RS232 Link Question - Possible Mistake?

I've recently came across the following question and noticed something not right about it:

The character ‘V’ is to be transmitted at 1200 Baud across an RS232 link with a
format of 8O1 (8 data bits, odd parity and one stop bit). If the ASCII code for the
letter ‘V’ is 0x56 show using diagrams how this data is transmitted. Annotate your
diagrams showing clearly the voltages and time periods of the bits concerned.


The answer on the answer sheet states that the binary for the V is 0101 0110, and the rest of the answer (which I understand and can complete) is based on this binary number.

However if the ASCII code for V is supposed to be considered as 0x56, then 01010110 isn't the corresponding binary. By my calculation the binary given is actually for the decimal of 86, not 56?

Is this a mistake or am I going about this wrong?
Reply 1
0x56 is decimal 86. I think you're getting confused between hexadecimal (base-16, denoted by the 0x) and decimal (base-10).

Latest

Trending

Trending