Serial Communication between XBee using Arduino

Priyanshu27:
I'm attaching my complete code again just in case you face problem in going back and forth for different replies.

Thank you for that.

However you seem to have posted the complete transmitting program but only part of the receiving program. Please post two complete programs.

And I remain sceptical about the completeness of your error message. I deliberately caused an error in a simple program and this is the message I got

ArduinoTemp.ino: In function 'void loop()':
ArduinoTemp.ino:22:20: error: 'low' was not declared in this scope
Error compiling.

You can see that it has identified the name of the program, the function where the error was and the line and character number where it was detected.

...R