Compiling Error - exit status 1 for DHT11 using Arduino UNO (code/process/connections same as website given bellow) https://create.arduino.cc/projecthub/MisterBotBreak/how-to-use-temperature-and-humidity-dht-sensors-9e5975
Copied Error Message:
Arduino: 1.8.13 (Windows 10), Board: &quot;Arduino Uno&quot;

In file included from C:\Users\soumy\OneDrive\Documents\Arduino\libraries\DHT-sensor-library-master\DHT_U.cpp:15:0:

C:\Users\soumy\OneDrive\Documents\Arduino\libraries\DHT-sensor-library-master\DHT_U.h:36:10: fatal error: Adafruit_Sensor.h: No such file or directory

 #include &lt;Adafruit_Sensor.h&gt;

          ^~~~~~~~~~~~~~~~~~~

compilation terminated.

exit status 1

Error compiling for board Arduino Uno.



This report would have more information with
&quot;Show verbose output during compilation&quot;
option enabled in File -&gt; Preferences.

The code:
#define DHTPIN 2     
#define DHTTYPE DHT11   

DHT dht(DHTPIN, DHTTYPE);

void setup() {
  Serial.begin(9600);
  Serial.println(&quot;DHTxx test!&quot;);

  dht.begin();
}

void loop() {
  
  delay(2000);
  float h = dht.readHumidity();
  float t = dht.readTemperature();
  float f = dht.readTemperature(true);

  if (isnan(h) || isnan(t) || isnan(f)) {
    Serial.println(&quot;Failed to read from DHT sensor!&quot;);
    return;
  }

  float hif = dht.computeHeatIndex(f, h);
  float hic = dht.computeHeatIndex(t, h, false);

  Serial.print(&quot;Humidity: &quot;);
  Serial.print(h);
  Serial.print(&quot; %\t&quot;);
  Serial.print(&quot;Temperature: &quot;);
  Serial.print(t);
  Serial.print(&quot; *C &quot;);
  Serial.print(f);
  Serial.print(&quot; *F\t&quot;);
  Serial.print(&quot;Heat index: &quot;);
  Serial.print(hic);
  Serial.print(&quot; *C &quot;);
  Serial.print(hif);
  Serial.println(&quot; *F&quot;);
}
I didn't download the &quot;Adafruit Sensor Library&quot;
https://github.com/adafruit/Adafruit_Sensor
It ran after I added it.