Thanks for your help. I'm probably not being clear. I understand how the data is physically transmitted through the serial port (ie handshaking, baud rate, stop bit, parity etc.). What I need to know is what happens to my data before it is sent. Right before it is sent through the serial port it will be converted to binary, but what happens before that?
So what i want to know is if i transmit the number 10, will it just convert that to binary (00001010) or does it break each part of it down into ascii and transmit the ascii value of each number.
Example: The number 1 in ascii is 31 hex or 00110001 in binary and 0 in ascii is 30 hex or 00110000 in binary so it would transmit (00110001 00110000)
I'm guessing it would break it into ascii, because if were to transmit a character i believe it would convert it to ascii first. I just want to make sure. The data the micro-controller receives will have to be interpreted to be useable so if it transmits the numbers in ascii i will have to write a function to convert 00110001 00110000 to 00001010
I probably just made this more confusing
I will try posting this in a hardware forum as well but if anyone can answer this for me i would appreciate it
Thanks again for helping
Edited by Pritch1, 20 October 2012 - 11:47 AM.