checking for tranceiver signal periodically
LAZY EYE
Posts: 4
Could I possibly ask you guys a question?
I've bought a couple of the parallax tranceivers (#27982) to communicate with a C++ app through a PIC-USB interface I've made. All is well, I can communicate a number of commands to the remote board but the stamp has a few other jobs to do and I don't know how to check for an incoming RF feed periodically. I found the source code for transmission/error checking on the parallax website, the only issue I have is the program stays in a loop waiting for a start-bit... this circuit also needs to be monitoring a thermistor and cds values,
I've tried a few approaches but to no avail. Would really appriciate some input...and I can post the full code listings if it would help
thanks
I've bought a couple of the parallax tranceivers (#27982) to communicate with a C++ app through a PIC-USB interface I've made. All is well, I can communicate a number of commands to the remote board but the stamp has a few other jobs to do and I don't know how to check for an incoming RF feed periodically. I found the source code for transmission/error checking on the parallax website, the only issue I have is the program stays in a loop waiting for a start-bit... this circuit also needs to be monitoring a thermistor and cds values,
' Wait for preamble, then receive data and crc value SERIN Tx,Baud,[WAIT ("U!"), packet, strLen, STR string\strLen, rcvdCrc.LOWBYTE,rcvdCrc.HIGHBYTE]
I've tried a few approaches but to no avail. Would really appriciate some input...and I can post the full code listings if it would help
thanks
Comments
...but sorry, just to clarify my question, I was just wondering if the stamp would always have the 'wait' for an niput, or whether there was a method of simply checking if a flag as been raised to get the stamps attention from the tranceiver, without having to pause on the SERIN statement