I understand now that how things is going on.
below is my example. Plz tell me i am right or wrong.
Supose i want to transmitt two values.
1. Voltage = 27
2. Current = 03
Now i will chose a letter that will be best representer for my vlaues.
Suppose i chose V for Voltage and C for current. Right!
Then i will convert my numaric value into ASCII.
Now i will transmitt,
For Voltage
i will send
Code:
(ASCII value of V)-(ASCII value of LF)-(ASCII value of 2)-(ASCII value of 7) (ASCII value of LF)-(ASCII value of CR)
For Current
i will send
Code:
(ASCII value of C)-(ASCII value of LF)-(ASCII value of 0)-(ASCII value of 3)-(ASCII value of LF)-(ASCII value of CR)
The whole code will look like this
Code:
(ASCII value of V)-(ASCII value of LF)-(ASCII value of 2)-(ASCII value of 7) (ASCII value of LF)-(ASCII value of CR)--(ASCII value of C)-(ASCII value of LF)-(ASCII value of 0)-(ASCII value of 3)-(ASCII value of LF)-(ASCII value of CR)
Am i right???