Xbee configuration question
Hi,
I'm trying to get two props to communicate via xbee and I'm wondering about the xbee configuration. If the xbees are both set to their default configuration they should be able to communicate in transparent mode without changing the configuration right? So if I use the X-CTU software to restore both then plug them into my boards I should be able to send and receive signals like this:
**********************************************************
on Transmitter side
**********************************************************
on receiving side
***********************************************************
I'm trying to get two props to communicate via xbee and I'm wondering about the xbee configuration. If the xbees are both set to their default configuration they should be able to communicate in transparent mode without changing the configuration right? So if I use the X-CTU software to restore both then plug them into my boards I should be able to send and receive signals like this:
**********************************************************
on Transmitter side
**********************************************************
PUB Transmitter
XB.start(XB_Rx, XB_Tx, 0, Baud)
Repeat
XB.dec(1234)
***********************************************************on receiving side
***********************************************************
PUB Receiver | Data
XB.start(XB_Rx, XB_Tx, 0, Baud)
Repeat
Data = XB.RxDec
Am I correct in thinking that I don't need any configuration for transparent communcation in order for one prop to send 1234 to the other?
Comments
Double posts are a Forum no-no:
http://forums.parallax.com/showthread.php?134682-Forum-Guidelines
The sister post in the Propeller forum has been removed.
PUB Transmitter XB.start(XB_Rx, XB_Tx, 0, Baud) Repeat XB.dec(1234) XB.CR
Adding the "xb.cr" in your transmitter code should fix you up. Oh, and also fix your receiver code:
Data = XB.RxDec
should beI got the xbees successfully transferring data and printing to the PST yesterday.