Currently I'm doing a project which send data:
7E 45 00 FF FF FF FF 0A 00 0B 00 65 00 00 00 01 00 00 04 D2 F0 87 7E
It is hexadecimal number and the 16th byte always increases. For example: 01 -> 02 -> 03 and so on.
But why I cannot print out the 19th byte which is 0x04 and the 16th byte when it reaches to 0x04 and 0x0D.
I know that 0x04 = EOT and 0x0D = CR.
Any help on this???