I have one XBEE as a transmitter connected to the PC via an adapter board. The other XBEE is connected to an Arduino Mega-LCD combo and set up as the receiver.
I have no problem sending text wirelessly from the PC to the Arduino and displaying it on the LCD. My transmitting software is written in Visual Basic (VB10).
PROBLEM: I would like have the Arduino XBEE echo the same text back to the back to the PC as confirmation that things are working. How do I do this?
Do I need to have to continually switch Transmitter/Receiver roles between the XBEE’s attached to the PC and Arduino???
If so, is there any code that will allow an Arduino to reconfigure the XBEE as either a transmitter or receiver on the fly. ??
Once I have an example of the code for the Arduino, I will try to figure out how to do the same in VB10.
I’m more than happy to share any of my code to date.
I am able to communicate back and forth serially without any problems when I connect the PC and Arduino via a USB cable. (XBEEs totally removed) so I know my PC software and Arduino code works.