 //********************************************************************************
 //********************************************************************************
 
-/*
 float mapFloat(float x, float in_min, float in_max, float out_min, float out_max)
 {
   return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min;
 }
-*/
 
 void setPinsMode() {
     pinMode(I2CEN, OUTPUT);

}

int readSoilTemperature() {
    SOILTV = analogRead(SOILT);

    return 1;
}

int readSoilHumidity() {
    SOILHV = analogRead(SOILH);

    return 2;
}

// These values are mapped and updated in the postSensingVariableMap() function
char Sound[63] = "0";
char Power[63] = "0.00 0.00 0.00";
char SoilTnH[63] = "0.00 0.00";
char PreTAlt[63] = "0.00 0.00 0.00";
char AmbiTnH[63] = "0.00 0.00";
char UVVisIR[63] = "0.00 0.00 0.00";
