Thank you MWS for the educative answer:
sorry for the prosa, I am not a software engineer,
but you are fully right that it is obvious to use the expression <print var ;> to avoid sending a <LF>
To show you what I mean with " immediately after" - here are the relevant lines of code:
[code:1:332f62ac0f] Printbin #1 , Tx_buf(1) , X 'output x command bytes
X = 1
Do
B = Inkey(#2)
If B > 0 Then
Rx_buf(x) = B
Incr X
If B = 13 Then 'if CR is send
Incr X
End If
End If
Loop Until B = 62 ' ESC
[/code:1:332f62ac0f]
Thanks for the good hint, Madf, but unfortunately the device I have will reply sending ASCII in multiple lines using <CR> inbetween,
which will stop the input routine after the first line (tried that already :D ).
↧