Not clear why using Bytematch 0x10, especially when there is no label to service it.
I have succesfully tested the folowing simple code.
I sent "1234567890#" +CRLF from the terminal
and got "1234567890#" back. Suppose this is what you wanted ?
See the picture. Sent message is red, received is black.
Lower is the same in hex mode.
[code:1:2451ef6ff5]$regfile = "m88def.dat"
$crystal = 8000000
$hwstack = 128
$swstack = 64
$framesize = 64
$baud = 9600
Defbyte B
Dim Str1 As String * 15
Config Serialin = Buffered , Size = 64
Echo Off
Config Input = Crlf , Echo = Noecho
Enable Interrupts
'--------------------------------------
Do
If Ischarwaiting() = 1 Then
Input Str1
Print Str1; ' add no ending chars
End If
Loop
End
'--------------------------------------[/code:1:2451ef6ff5]
↧