Well the problem is solved,
Kimmi wrote a little Flush routine that makes sure the RX buffers are 100% empty before receiving again,, that solved all my issues :)
[code:1:eb7a715c92]
Sub Flushbuf(byval Port As Byte)
Local Dummie As Byte
Waitms 100 '!!!!!!!! very importand timing!
Do
If Port = 0 Then Dummie = Inkey()
If Port = 1 Then Dummie = Inkey(#2)
Loop Until Dummie = 0
End Sub
[/code:1:eb7a715c92]
↧