[:(] i want to turn on/off LED connected to one XB24 MODEM with the help of SWITCH connected to other XB24 MODEM using API. But i am not getting this.

I have connected SWITCH to pin no.20 of XB24 MODEM. And LED to pin no. 20 of other XB24 MODEM.

Here i am attching the file. The window with indication as com5 is the window for MODEM having SWICTH connected. And com4 s the window for MODEM having LED connected.

Plz give me detail explanation how to do this API setting? Have setted one MODEM as zigbee API COORDINATOR and other MODEM as zigbee ROUTER API. I am new to this zigbee environment.Where i am doing wrong? [:(] [:(]

I don’t see any attached file.

For examples of using the API utility at this link http://www.digi.com/support/productdetail?pid=4549&type=documentation see the tutorial below it.

I’m not sure how to do this.
I know the standard API frames supported by Digi XBee modules can be found at the following link, http://ftp1.digi.com/support/utilities/digi_apiframes2.htm