Parallax tranceivers
I have a pair of parallax 27997's.
When I run the following code the "slave" receives the first transmission and
goes back to waiting but never acknowledges any more transmissions.
If I take out the "gosub SEND_IT" statement then the "slave" acknowledges all
transmissions that I send to it.
I am manually sending from the "master" and the "master" is not listening for
anything from the "slave". Once in the transmit mode is the "slave"
transceiver staying in the transmit mode?
'============
MAIN:
gosub GET_COM
gosub SEND_IT
goto MAIN
'============
SEND_IT:
debug "Let the master know!!",cr
SEROUT 5,396,[noparse][[/noparse]"A",DEC TEMP,FIRST,dec temp2,LAST2]
RETURN
'============
GET_COM:
debug "Waiting for instructions ",cr
SERIN 4,396,[noparse][[/noparse]WAIT ("A"),dec TEMP,FIRST,dec TEMP2,LAST2]
DEBUG "JUST GOT IT",CR
RETURN
'============
[noparse][[/noparse]Non-text portions of this message have been removed]
When I run the following code the "slave" receives the first transmission and
goes back to waiting but never acknowledges any more transmissions.
If I take out the "gosub SEND_IT" statement then the "slave" acknowledges all
transmissions that I send to it.
I am manually sending from the "master" and the "master" is not listening for
anything from the "slave". Once in the transmit mode is the "slave"
transceiver staying in the transmit mode?
'============
MAIN:
gosub GET_COM
gosub SEND_IT
goto MAIN
'============
SEND_IT:
debug "Let the master know!!",cr
SEROUT 5,396,[noparse][[/noparse]"A",DEC TEMP,FIRST,dec temp2,LAST2]
RETURN
'============
GET_COM:
debug "Waiting for instructions ",cr
SERIN 4,396,[noparse][[/noparse]WAIT ("A"),dec TEMP,FIRST,dec TEMP2,LAST2]
DEBUG "JUST GOT IT",CR
RETURN
'============
[noparse][[/noparse]Non-text portions of this message have been removed]