     pinMode(ALGEN, OUTPUT);
     pinMode(LED, OUTPUT);
 
+    pinMode(SOUND, INPUT);
+
     pinMode(POWR1, INPUT);
     pinMode(POWR2, INPUT);
     pinMode(POWR3, INPUT);

}

int readWeatherSi7020() {
    if (Si7020OK)
    {
        Si7020Temperature = si7020.readTemperature();

//********************************************************************************

// Initialize application variables
int SENSORDELAY = 3000; // milliseconds (runs x1)
int EVENTSDELAY = 1000; // milliseconds (runs x10)
int OTAUPDDELAY = 7000; // milliseconds (runs x1)
int SLEEP_DELAY = 40; // 40 seconds (runs x1) - should get about 24 hours on 2100mAH, 0 to disable and use RELAX_DELAY instead
String SLEEP_DELAY_MIN = "15"; // seconds - easier to store as string then convert to int
String SLEEP_DELAY_STATUS = "OK"; // always OK to start with
int RELAX_DELAY = 40; // seconds (runs x1) - no power impact, just idle/relaxing

int I2CEN = D2;
int ALGEN = D3;
int LED = D7;

int SOUND = A0;
double SOUNDV = 0; //Volts Peak-to-Peak Level/Amplitude

int POWR1 = A1;
int POWR2 = A2;
int POWR3 = A3;
double POWR1V = 0; //Watts
double POWR2V = 0; //Watts
double POWR3V = 0; //Watts

int SOILT = A4;
float SOILTV = 0; //Celsius: Temperature (C) = Vout*41.67-40 :: Temperature (F) = Vout*75.006-40

int SOILH = A5;
float SOILHV = 0; //Volumetric Water Content (VWC): http://www.vegetronix.com/TechInfo/How-To-Measure-VWC.phtml

bool BMP180OK = false;
