   }
 
   previousButtonState = currentButtonState;
+}
+
+void checkTPHv2()
+{
+  currentTemperature = bme.readTemperature();
+  currentPressure = bme.readPressure() / 100.0F;
+  currentHumidity = bme.readHumidity();
 }
 
 void checkGPS()

#include <SoftwareSerial.h>
#define BUTTON_PIN 20

SoftwareSerial SoftSerial(2, 3);
char buffer[256];

          if(sAlt == "")
            sAlt = "0";

          String geo = "{\"latitude\":" + sLat + ",\"latd\":" + sLatd + ",\"longitude\":" + sLong + ",\"longd\":" + sLongd + ",\"altitude\":" + sAlt + ",\"T\":" + currentTemperature + ",\"P\":" + currentPressure + ",\"H\":" + currentHumidity + "}";

          Serial.println("#");
          delay(50);
