mildenhall
New Member
I have built and successfully tested my XBee link. I want a PC->XBee link to eventually control a robot to demo to some of my pupils. As my own personal test I have written a program to read the input using serin and just output the same data using serout so that I know the 18X has received the data correctly.
This is the program I have written...
init:
high 7
pause 100
main:
serin 7, T2400, b2
pause 500
serout 7,T2400, ("xx=", b2, CR,LF)
pause 500
goto main
To send data to it I use the Serial Terminal (F8 key), with 2400, n, 8, 1.
This sometimes works, but very rarely. Does anyone know what I am doing wrong please?
Jerry
This is the program I have written...
init:
high 7
pause 100
main:
serin 7, T2400, b2
pause 500
serout 7,T2400, ("xx=", b2, CR,LF)
pause 500
goto main
To send data to it I use the Serial Terminal (F8 key), with 2400, n, 8, 1.
This sometimes works, but very rarely. Does anyone know what I am doing wrong please?
Jerry