We need to designate one XBee as the Coordinator and one as the End Device (AT MODE). Soldering a 6pin header to a LilyPad XBee Breakout allows for easy programming with the standard USB-FTDI connector which comes with the LilyPad Pro. We used
XCTU to program the XBee units. Make sure the high and low destination address of the End Device is 0. This ensures that the End Device communicates with the Coordinator. It is also suggested to name your own Node Identifier, this must be done on BOTH the Coordinator and the End Device. For a great tutorial on programming XBee please consult
Ladyada. (Note: XCTU works under wine for linux)
I can't believe I never posted the Max code! Sorry about that. It's now posted on the last page of this instructable. Let me know if you need any other assistance.