compilation error

Hi all,

I’m trying to send a temperature read from DHT11 sensor and with this code below I’m having the following error:

DHTTest.ino:4:17: fatal error: DHT.h: No such file or directory
compilation terminated.

I have installed in the arduino library folder a DHT library.

Does anyone help me on how to solve this error ?

Thanks in advance.

This is the code:

// Program: Sensor DHT11 - Send data over bluetooth

#include "DHT.h"

#define dht_pin A5 

#define DHTTYPE DHT11

DHT dht(dht_pin, DHTTYPE);

void setup()
 // wait one second before read sensor

void loop()
 float h = dht.readHumidity();
 float t = dht.readTemperature();

 // show values
 Serial.print("Temp. = ");
 Serial.print(" C ");
 Serial.print("Um. = ");
 Serial.println(" % ");

 // wait two seconds to the next read

Moderator edit:
</mark> <mark>[code]</mark> <mark>

</mark> <mark>[/code]</mark> <mark>
tags added.

You must restart all instances of the IDE after installing a new library (depending on which version you use)

(Adafruit's library?)