• 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

ESP32 with DHT11 Temperature Humidity Web Server.

Q&A Forum › Category: ESP32 › ESP32 with DHT11 Temperature Humidity Web Server.
0 Vote Up Vote Down
thomas1 asked 6 years ago

Hello Rui,
I am trying to run the sketch you have on this link; https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-web-server-arduino-ide/
I have added my SSID and password and checked that my developing board can see the network, which it can.
However I am getting the following error;
Using library DHT_sensor_library at version 1.3.2 in folder: C:\Users\Thomas\Documents\Arduino\libraries\DHT_sensor_library
Using library Adafruit_Sensor at version 1.0.2 in folder: C:\Users\Thomas\Documents\Arduino\libraries\Adafruit_Sensor
exit status 1
‘WiFi’ was not declared in this scope
Can you explain what I am missing here.
Cheers,
Thomas

Question Tags: WEB Server
2 Answers
0 Vote Up Vote Down
thomas1 answered 6 years ago

Hi Rui,
I have found out what was wrong, I had added // in front of #include <WiFi.h> which was the reason.
Sorry for taking your time.
Cheers,
Thomas

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

No problem! I’m glad you figured it out. I’ll mark this thread as closed, but feel free to open a new question any time: https://rntlab.com/ask-question/

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.