 
 #if ROLE == ROLE_GROUND
 
-// Display
-#include <LiquidCrystal.h>
-
 // Smart switch utils
 #include "~Switch.h"
 


        float seaLevelPressure = SENSORS_PRESSURE_SEALEVELHPA; // TODO: Find a more accurate value?

        return bmp.pressureToAltitude(seaLevelPressure, event.pressure, temperature);
    }
    
    return -1;
}



#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);
Switch calibButton = Switch(calibButtonPin);

// can be digital pins
uint8_t heartbeatLEDGreenPin = 5;
uint8_t heartbeatLEDBluePin = 3;
uint8_t heartbeatLEDRedPin = 6;

unsigned long lastHeartbeat = 0;
bool isCommHealthy = false;

float rawCalibrationAltitude = 0;
bool isAltCalibrated = false;
float lastAltitude = -1;

#else
#define TRIGGER_SERVO_ANGLE 90
#define RESET_SERVO_ANGLE 0
#define METERS_TO_FEET_RATIO (381./1250.)

// Should be a PWM pin
uint8_t servoPin = 5;
Servo actuationServo;

// Parameter is sensor ID
Adafruit_BMP085_Unified bmp = Adafruit_BMP085_Unified(10085);
