   unsigned long currentMillis = millis(); // grab current time
 
   // check if "interval" time has passed (1000 milliseconds)
-  if ((unsigned long)(currentMillis - previousMillis) >= interval) {
+  if ((unsigned long)(currentMillis - previousMillisTPHv2) >= 200) {
+    checkTPHv2();
+    // save the "current" time
+    previousMillisTPHv2 = millis();
+  }
+
+  // check if "interval" time has passed (1000 milliseconds)
+  if ((unsigned long)(currentMillis - previousMillisGPS) >= interval) {
     checkGPS();
     // save the "current" time
-    previousMillis = millis();
+    previousMillisGPS = millis();
   }
 }
-
-boolean previousButtonState = false;
 
 void checkButton()
 {

#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);
