I have sent a 2 and a 9 using UART. The baud rate is 9600, there is no parity, and it has 8 data bits.
As we know 9 is represented as 1001 in binary. However, this is what I get from my UART signal:
A 2 is represented as 0010 but this is what I get from my UART signal:
I know I have to pay attention to the start bit, but other than that, I have a hard time seing the logic in this signal.
NOTE:
The signal works, but I just need help analysing it.