• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Error compiling for board NodeMCU 0.9. Any ideas? error pasted below

Q&A Forum › Category: ESP8266 › Error compiling for board NodeMCU 0.9. Any ideas? error pasted below
0 Vote Up Vote Down
Timothy Knapp asked 6 years ago

Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: “NodeMCU 0.9 (ESP-12 Module), 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200”
In file included from C:\Users\UTENTE\Documents\Arduino\libraries\DHT_sensor_library-1.3.7\DHT_U.cpp:15:0:
C:\Users\UTENTE\Documents\Arduino\libraries\DHT_sensor_library-1.3.7\DHT_U.h:36:29: fatal error: Adafruit_Sensor.h: No such file or directory
#include <Adafruit_Sensor.h>
^
compilation terminated.
exit status 1
Error compiling for board NodeMCU 0.9 (ESP-12 Module).

Do I need to change my DHT library?

Question Tags: nodemcu 0.9
2 Answers
0 Vote Up Vote Down
DK answered 6 years ago

Hi

did you download lib

  • https://www.arduinolibraries.info/libraries/dht-sensor-library
  • https://github.com/adafruit/DHT-sensor-library

tutorial on it

  • learn.adafruit.com/dht?view=all
  • https://randomnerdtutorials.com/esp8266-dht11dht22-temperature-and-humidity-web-server-with-arduino-ide/
0 Vote Up Vote Down
Timothy Knapp answered 6 years ago

Thanks. I needed the adafruit unified sensor library

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.