I've been doing a lot of reading on Xbee and I was wondering if it is possible to program a pair of Xbees to operate as mirrors of each other. What I mean by this is can I have a local Xbee mirror the remote Xbee's digital, pwm or analog pin readings or states? Ideally, I would have an Xbee shield on my 2560 and when I read A0 for example, I would see the value of A0 on the remote Xbee. I'm trying to avoid using the API mode and having to decode data.
Maybe someone can point me to some examples or reading.
Okay, let me try to ask this in simpler terms. Forget the arduino, can I program a pair of Xbee's so that the pin states on one will be mirrored on the other?
API mode is a significantly better approach. Invest the time to learn it and you'll thank yourself later. Andrew Rapp's library, as Paul mentioned, makes it easier.