Two Arduino + Two Xbee Shield + Two Xbee

Hi, I am doing a project. This project has two Arduino+Shield+Xbee. Cases: - Xbee talk with the other Xbee without problem. - Xbee+Arduino talk only one direction. My idea is to send signad from an Arduino to other (bidirectional); only to work in one direction (sometimes A-->B, other B-->A but ONLY ONE). The jumpers are in correct positions.

Can you help me???

Yes and no. No I can't give you any code because I have never had an xbee but yes I can help you find the info. First you have to tell me what you are trying to do . "send signal" is not specific enough. I need to know exactly what your objective is.

Hi, the code is very simple. By the moment I want "only" to talk between them. This code (the same) is on two Arduino.

// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;
int state=0;
byte recived;

// the setup routine runs once when you press reset:
void setup() { 
  // initialize the digital pin as an output.
  pinMode(led, OUTPUT);     

// the loop routine runs over and over again forever:
void loop() {
     recived =;
     digitalWrite(led, state);   

Thank but the problem isn´t the code. I think the problem is in the configuration, Why?? Because sometimes A send to B; when I turn off B send A... Only one direction... A configuration is the key.

Sorry . I don't think I can help you with the code. I've never used and xbee.

Don´t worry.
Thank you very much.
Can someone to help me???