DH11 Sensors interrupt fail

My intention is to read data from the dh11 sensor every 3 seconds with an interrupt. I have already setup this, but the sensor does not show any data when I use the interrupt (if I add the function sensor_temp in the loop, it works).
How can I solve it?

sketch_jun24a.ino (1.82 KB)

Other interrupts are disabled during an interrupt service routine (ISR). If the DHT library uses interrupts it won't work in an ISR. Using an interrupt for a 3 second interval is not a good use of interrupts. Blink without delay timing would be the way to do it blink-without-delay-explained. If you must use an interrupt, set a flag in the ISR when the interrupt happens. In loop(), check the flag and if it is set, run the DHT code and reset the flag.

Many people (like me) will not download code. Read the "how to use the forum" stickies to see how to properly format and post code.

Thank you! problem solved.