         validateAck(sendByte(ackVal));
     }
 
+    //Serial.println("Current calibrated altitude: " + String(lastAltitude));
+
     bool altitudeAboveThreshold = isAltCalibrated && lastAltitude >= ALTITUDE_TARGET_THRESH_FEET;
     if (isCommHealthy && altitudeAboveThreshold)
-        setStatusLED(0, 0, 255);
+        setStatusLED(0, 255, 0); // Green
 
     else if (isCommHealthy)
-        setStatusLED(0, 255, 0);
+        setStatusLED(0, 0, 255); // Blue
 
     else
-        setStatusLED(255, 0, 0);
+        setStatusLED(255, 0, 0); // Red
 #else
     if (radio.available()) {
         byte recvByte = receiveByte();

#if ROLE == ROLE_GROUND
#define HEARTBEAT_INTERVAL_MILLIS 1000
// Altitude is in feet
#define ALTITUDE_TARGET_THRESH_FEET 100

// can be digital pinsa
uint8_t triggerButtonPin = A0;
uint8_t resetButtonPin = A1;
uint8_t calibButtonPin = A1;

Switch triggerButton = Switch(triggerButtonPin);
Switch resetButton = Switch(resetButtonPin);

            receiveData(&buffer, sizeof(buffer));

            // Dereference the data portion of the packet as a float
            rawLastAltitude = *(float*)(&(buffer[1]));
            if (isAltCalibrated)
                lastAltitude = rawLastAltitude - rawCalibrationAltitude;
            else
                lastAltitude = rawLastAltitude;

            Serial.println("Got altitude " + String(lastAltitude));
        }
