 {
   Blynk.virtualWrite(SENSOR_ID_SOUND_BLYNK, sensorValue[SENSOR_ID_SOUND]);
 }
-#endif
-#if APP_ID==2
+#elif APP_ID==2
 BLYNK_READ(SENSOR_ID_DUST_BLYNK) 
 {
   Blynk.virtualWrite(SENSOR_ID_DUST_BLYNK, sensorValue[SENSOR_ID_DUST]);
 }
 
-#endif
-
-#if APP_ID==3
+#elif APP_ID==3
 BLYNK_READ(SENSOR_ID_BAROMETER_BLYNK) 
 {
   Blynk.virtualWrite(SENSOR_ID_BAROMETER_BLYNK, sensorValue[SENSOR_ID_BAROMETER]);

          10: dust sensor, 11: UV  sensor, 12: sound sensor 
        Default user sensor order in APP-3 (MAPS):
          10: barometer sensor (high accuracy), 11&12: temperature & humidity sensor pro, 13: digital light sensor
        
        Original:
          The idea come from here: http://iot-hackseries.s3-website-us-west-2.amazonaws.com/linkitone-setup.html

double ground_speed;
#define GPS_SIGNAL_NOCHECK 1   // 0: log or send only when GPS have signal, 1: always log and send even when GPS have no signal
#define GPS_FIX_INFOR "$GPGGA,064205.096,0,N,0,E,0,0,,207.8,M,15.0,M,,*4F\r" // If the device don't have GPS, setup the FIX GPS information here. The checksum don't need to be correct  
/// new variables starting from v0.7.0
char str_GPS_location[60];
char str_GPS_quality[5];
char str_GPS_satellite[5];
char str_GPS_altitude[10];


//----- WIFI -----
//System default wifi setting: SSID=LASS, PASS=LASS123456, WIFI_AUTH=LWIFI_WPA
