Hi,
Just a general question about the avrs uart. To transmit some data say '1' (after setting all the registers) you jus write UDR0 = '1'.
The data sheet talks about sending 10 bits. Your data in 8 bit format plus a low start bit and high start bit. Does this mean that the PC will recieve 0100000001?
Assuming ASCII '1' to binary is 1000000.
And I then have to remove the 1st and 10th bit and convert the 8 bits back to ASCII to get my data ?
Thanks
Just a general question about the avrs uart. To transmit some data say '1' (after setting all the registers) you jus write UDR0 = '1'.
The data sheet talks about sending 10 bits. Your data in 8 bit format plus a low start bit and high start bit. Does this mean that the PC will recieve 0100000001?
Assuming ASCII '1' to binary is 1000000.
And I then have to remove the 1st and 10th bit and convert the 8 bits back to ASCII to get my data ?
Thanks