+/*--- GROVE GPS ---*/
 #include <SoftwareSerial.h>
+/*-----------------*/
+
+/*--- TPH V2 ---*/
+#include <Wire.h>
+#include <SPI.h>
+#include <Adafruit_Sensor.h>
+#include <Adafruit_BME280.h>
+/*--------------*/
+
+/*--- GROVE BUTTON ---*/
 #define BUTTON_PIN 20
+/*--------------------*/
+
+/*--- TPH V2 ---*/
+#define BME_SCK 13
+#define BME_MISO 12
+#define BME_MOSI 11
+#define BME_CS 10
+#define SEALEVELPRESSURE_HPA (1013.25)
+/*--------------*/
 
 SoftwareSerial SoftSerial(2, 3);
 char buffer[256];

  unsigned long currentMillis = millis(); // grab current time

  // check if "interval" time has passed (1000 milliseconds)
  if ((unsigned long)(currentMillis - previousMillis) >= interval) {
    checkGPS();
    // save the "current" time
    previousMillis = millis();
  }
}

boolean previousButtonState = false;

void checkButton()
{

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