 
 void Restore_Default()
 {
-    int chk = DHT11.read(DHT11PIN);
-    NdefRecord records[4];
+    //int chk = DHT11.read(DHT11PIN);
+    NdefRecord records[5];
     /** here get data from sensor **/
     //get sensor data
     byte exData0[] = {60}; //humidity 60%  form sensor   
     byte exData1[] = {24}; //temperature 24 C  form sensor 
     byte exData2[] = {50}; //humidity 50%  warm line 50%
-    exData0[0] = DHT11.humidity;
-    exData1[0] = DHT11.temperature;
+    //exData0[0] = DHT11.humidity;
+    //exData1[0] = DHT11.temperature;
+    long a = analogRead(A2);
+    long b = (a*100)/900;
+    exData0[0] = b;
     Serial.println(exData0[0]);
     Serial.println(exData1[0]);
     //Serial.println( DHT11.temperature);

    records[1].createExternal("flower", "humidity", exData0, sizeof(exData0));
    records[2].createExternal("flower", "temperature", exData1, sizeof(exData1));
    records[3].createExternal("flower", "setting", exData2, sizeof(exData2));
    
    NdefMessage msg(records, sizeof(records)/sizeof(NdefRecord));
    uint16_t msg_length = msg.getByteArrayLength();

    /// init data here
    Restore_Default();//write sensor data to DNFC TAG
    //Serial.println(EEPROM.read(address));
    //Serial.println(EEPROM.read(address+1));
    //enable interrupt 1
    attachInterrupt(IRQ, RF430_Interrupt, FALLING);
    Serial.println("Wait for read or write...");
    //Serial.println("DHT11 TEST PROGRAM ");
    //Serial.print("LIBRARY VERSION: ");
    //Serial.println(DHT11LIB_VERSION);
}

void loop(void) 
