When using the below code and transmitting 0x00 to a computer I receive the values 00, 01, 02,04, 08, 10, 20, 40, 80 with changing interval. This seems to be a "One" that is rotating somewhere, could be a problem with the Stop Bit maybe.

Do anyone have clue?

Sub XMIT_RS232(Xmit_Byte)#NR 
SerTxLow
wait baud us 
For cntr = 1 to 8 
Rotate Xmit_Byte Right 
If Status.C ON Then SerTxHigh
If Status.C Off Then SerTxLow
wait baud us
Next 
SerTxHigh
wait baud us 
end sub