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.
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.