 #include <stdlib.h>
 #include <string.h>
 #include <TH02_dev.h>
-
+#include <SD.h>
 
 #define CMDSTR_MAX_LEN (128)
 #define LOW_TEMP       (10)

const char* SerialVarList2[] = { "relay", "buzzer", "servo", "sleep", "psw"};
enum ACTUATOR {RELAY=0,BUZZER,SERVO,SLEEP};
enum SENSOR {TEMPER=0,HUMI,LIGHT,UV,PIR,MS};

pgetSensorValue getSensorValueList[]={
  getTempSensorValue, 

  if(isButtonPressed()) isBackLightOn = !isBackLightOn;
  
  //if reconfig WiFi SSID,reconnect.
  //if(isSSIDreconfiged==true) {
  //  status = WL_IDLE_STATUS;
  //  isSSIDreconfiged = false;
  // }
    
  
}
