     if(OK_HP20X_DEV == ret){ 
       while(1){
         pressure = HP20x.ReadPressure();
-        bp = pressure/100.0;
+        bp = p_filter.Filter(pressure/100.0);
 //      altitude = HP20x.ReadAltitude();
-//      ba = altitude/100.0;    // the result is not used though.... 
+//      ba = a_filter.Filter(altitude/100.0);    // the result is not used though.... 
 //      temperature = HP20x.ReadTemperature();
-//      bt = temperature/100.0;   // the result is not used though.... 
+//      bt = t_filter.Filter(temperature/100.0);   // the result is not used though.... 
         if (bp>10) break;
         Serial.println("Something wrong with barometer => retry it!");
       }

#endif

#if APP_ID==3
  #define SENSOR_ID_BAROMETER 13
  #define SENSOR_ID_TEMPERATURE 14
  #define SENSOR_ID_HUMIDITY 15  
  #define SENSOR_ID_LIGHT 16
  // in order to prevent blynk not support that many virtual gpio in the macro. we setup virtual GPIO in lower pin
  #define SENSOR_ID_BAROMETER_BLYNK 6
  #define SENSOR_ID_TEMPERATURE_BLYNK 7
  #define SENSOR_ID_HUMIDITY_BLYNK 8
  #define SENSOR_ID_LIGHT_BLYNK 9
#endif 

enum pinSensorConfig{

          0: record_id, 1: battery level, 2: battery charging, 3: ground speed ( Km/hour ) 
        Default user sensor order:
          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
