I have this code:
Code:
Gain:
	HSERIN [STR Name\25\"*"] : Pause 250
	HSEROUT [STR Name,"*"]
for pass=0 to 24
	Name[pass]=0
next pass
Goto Gain
First time when program starts. I can see on serial communicator when data 'Home*' is received. Nothing comes as output

I send it again 'Home*' it outputs 0

Third time I send 'Home*' it outputs 'Home*'

THEN I send 'abcd*' it outputs 'Home*'

I send it again 'abcd*' it outputs 'abcd*'

Similarly every different data after this comes to the output after sending it twice.

Why is this happening?