S2C, Turn a xBee pin HIGH upon Wake Up

How can I set a Pin HIGH when my END S2C wakes up from sleep mode?

which s2c you want to make pin high end s2c or master.

you need to write a code for that, actually when module is weak up you will get a frame.after receiving the frame make it any one gpio is high by sending the frame