??? 05/07/08 22:24 Read: times |
#154552 - UART doesn't know ASCII Responding to: ???'s previous message |
Chris Bertrand said:
Now I know you can not have something like '7B' since that is an invalid ascii character. There is nothing to stop you sending the hex byte value 0x7B through the 8051's UART. The 8051's UART neither knows nor cares about ASCII - it simply sends & receives 8-bit bytes. The same applies to the PC's UART (assuming it is configured for 8-bit data). Where ASCII comes in is how the software beyond the UARTs interprets those 8-bit bytes... |