08-20-2013 02:06 AM
Hello,
I have been working to transmit signal on serial port the data is 000 001 002 and so on.
The problem occurs that on 001(for a case) it sometimes make it 100 or 010.
So pls tell me how could I solve this problem and what is the actual reason for this.
Regards
08-20-2013 02:25 AM
And even sometimes starts giving output as ASCII Codes. instead of Numeric values.
08-20-2013 04:06 AM
Hi, are you sending the right amount off byte?
for example, if you send 000 001 002, you need 11 bytes (2 used for the space)
if you send only 8 bytes for example, you will send
000 001 , then 002000 0, then 00 001 0 and so on.
It is not sure that the issue is there, but it's a possibility. Having the code would make things easier.
08-20-2013 04:53 AM
Thanks Giuliano Franchetto
The data is coming as 001 i.e for a value of 0 and the location of 1 changes from the most right to center and left.
The code is the advance serial r/w present in the example, just i have added a waveform chart on the output stage.
Regards