 Switch triggerButton = Switch(triggerButtonPin);
 Switch resetButton = Switch(resetButtonPin);
 
-uint8_t heartbeatLEDPin = 13;
+uint8_t heartbeatLEDPin = 4;
 
 unsigned long lastHeartbeat = 0;
 bool isCommHealthy = false;

}

void validateAck(byte ackResponse) {
    if (ackResponse == ackVal)
        isCommHealthy = true;
    else {
        isCommHealthy = false;
        Serial.println("Bad ack received! This probably means that the connection is unstable.");

    }
    else if (millis() - lastHeartbeat >= HEARTBEAT_THRESH_MILLIS) {
        // Re-use ack byte for heartbeat
        validateAck(sendByte(ackVal));
    }

    digitalWrite(heartbeatLEDPin, isCommHealthy);
