     return val;
 }
 
-// send numBytes bytes on the radio from val
+// Sends arbitrary data of length numBytes from the given address
 byte sendData(void* val, int numBytes) {
     byte recvByte;
 
     if (radio.available())
         Serial.println(F("Data available before request was sent! This probably means something was not read correctly."));
 
+    // Print bytes that are going to be sent
     Serial.print(F("Sending data {"));
     for (int i = 0; i < numBytes; i++)
     {

    if (triggerButton.longPress()) {
        Serial.println(F("Sending trigger byte"));

        lastTriggerType = true;
        lastTriggerSignalTime = millis();


    }
    Serial.println(F("}"));

    // Stop listening temporarily so we can write
    radio.stopListening();
    bool writeSuccess = radio.write(val, numBytes);
    radio.startListening();

    if (writeSuccess) {
        if (!radio.available()) {
            Serial.println(F("Empty receive buffer! Was expecting an ack."));
            return 0;
        }
        else {
            radio.read(&recvByte, 1);
            radio.writeAckPayload(primaryPipeIndex, &ackVal, 1);

            Serial.print(F("Received ack"));
        }
