 #include <Wire.h>
 #include <MtkAWSImplementations.h>
 #include <LGPS.h>
+#include <LTask.h> 
+#include "vmthread.h" 
+#include "stddef.h" 
 
 #define VER_FORMAT "3"	// version number has been increased to 2 since v0.7.0
 #define FMT_OPT 0 // FMT_OPT : 0: default format with gps, 1: default format but gps is fix data, need to update GPS_FIX_INFOR 
     // ( format is right, but no actual gps information because no gps device exist ) 
-#define VER_APP "0.7.5"
+#define VER_APP "0.7.6"
 
 #define APPTYPE_SYSTEM_BASE 0
 #define APPTYPE_PUBLIC_BASE 256


  
}
// please customize the how to get the sensor data and store to sensorValue[]
int get_sensor_data(){
  

      Serial.print("SensorValue(Barometer):");
      Serial.println(sensorValue[SENSOR_ID_BAROMETER]);


      ThreadComplete=false;
      LTask.remoteCall(createThread, NULL);
      delay(200);
      while(!ThreadComplete){
        delay(1000);
      };     
/*      float h,t;
      dht.readHT(&t, &h);
      while (isnan(t) || isnan(h) || t<0 || t>80 || h<0 || h > 100){
        Serial.println("Something wrong with DHT => retry it!");
        delay(100);
        dht.readHT(&t, &h);    
      }
*/
      sensorValue[SENSOR_ID_TEMPERATURE] = t;
      Serial.print("SensorValue(Temperature):");
      Serial.println(sensorValue[SENSOR_ID_TEMPERATURE]);
