Go Down

Topic: Regarding XBee Communication (Read 27 times) previous topic - next topic

avin559

Nov 25, 2014, 06:18 am Last Edit: Nov 26, 2014, 06:42 am by avin559
Hi,
I recently bought two XBee modules, Arduino XBee shields and Arduino UNO Board. One XBee module is coordinator and other one is End node. I am able to establish communication between Coordinator XBee module and End node XBee Module. when i try to send data from end node XBee Module to coordinator XBee Module communication is not working.
Code: [Select]
char msg = ' ';

void setup() {
  Serial.begin(9600);

}
void loop() {
  while(Serial.available() > 0) {
    msg=Serial.read();
    Serial.print(msg);
  }
  delay(1000);
}
 

can any one suggest me some solution for it?
Thanks in advance.......

Go Up