     sprintf(&buffer[len], "C=");
     len = strlen(buffer);
     dtostrf(temp, 1, 1, &buffer[len]);
-
+#endif // AMBIENT_TEMPERATURE_SENSOR
+
+#if PRESSURE_SENSOR
     // Add pressure 
     len = strlen(buffer);
     buffer[len] = ';';

      SYSTEM_VOLTAGE * 1000 / 1024.0);
  orp = (orp / 75.0) - ORP_OFFSET;
  digitalWrite(S2_EN, HIGH);

  // Calc pH
  delay(500);
  digitalWrite(S3_EN, LOW);

    sprintf(&buffer[len], "Pa=");
    len = strlen(buffer);
    dtostrf(pressure, 1, 0, &buffer[len]);
#endif // PRESSURE_SENSOR

#if LIGHT_LEVEL_SENSOR
    // Add light level 
    len = strlen(buffer);
    buffer[len] = ';';
