Sara Damiano replied to the topic XBee Networks of Mayfly Loggers – 900Mhz in the forum Mayfly Data Logger 3 years, 9 months ago
@jkirchoff – drive the pin level with the digitalWrite(#, level) function.
If you’re using a Mayfly, the XBee’s sleep request pin is attached to the Mayfly pin 23. So to wake the bee, send data, and put it to sleep all you needs is:
// more print statements as desired