 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 void initializeComm()
 {
+    // We're powering the radio through digital pin 6 so that we can totally
+    // turn off power to it during sleep cycle.
+    // Set the pin high to turn on power to the NRF24L01+.
+    digitalWrite( nrfModulePowerPin, HIGH );
+
+    // Set up the message that we will be sending to the base station when someone
+    // presses the doorbell button.
     message[0] = 517;       // Network ID
     message[1] = 1;         // Unit ID
 
+    // Fire up the layzar!!
     radio.begin();
     radio.openWritingPipe( pipe );
 

{
    for (byte i = 0; i < repeat; i++)
    {
        digitalWrite(led, LOW);
        delay(100);
        digitalWrite(led, HIGH);
        delay(100);
    }
}

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void buttonPressed()
{
    // Handle button debouncing by not handling a button press within 1 second of the previous press.
    if ( !startingUp && !ringRequested && (millis() - lastPressed > debounceDelay) )
    {
        ringRequested = true;
        ledOn = true;

// Define the NRF24L01+ radio object
RF24 radio(CE_PIN, CSN_PIN);

const int button            = 3;
const int led               = 4;
const int nrfModulePowerPin = 6;
const int debounceDelay     = 500;
const int activityTimeout   = 10000;

volatile bool ringRequested = false;
volatile int lastPressed    = 0;

bool ledOn                  = false;
bool startingUp;


