Esp8266 and virtual pins

BlynkTimer timer;

void setup()
{
timer.setInterval(1000L, getdata);  
}

void loop() {
  Blynk.run();
  timer.run();
}

void getdata() {
  h = dht.readHumidity();
  t = dht.readTemperature();
  u = analogRead(A1);
  l = analogRead(A0);
  l = l / 2;
  if (l > 60) {
    digitalWrite(led, HIGH);
  } else {
    digitalWrite(led, LOW);
  }
}

You need to follow this way, to keep your loop clean. The functions need to be called by a timer

i try to put this parts on my sketch but in the app the arduino connected, but no data arrived, and after 20 seconds the arduino disconected

Show me your latest code. Please properly format the code with triple backticks = ```

no ok i solved this problem, i remove and reinstall the library and it works. i don’t know why because that was the latest version…however now in the serial monitor it say packet too big