This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <Adafruit_Sensor.h> | |
| #include <DHT.h> | |
| #include <DHT_U.h> | |
| #define DHTPIN 8 // Digital pin connected to the DHT sensor | |
| #define DHTTYPE DHT11 // DHT 11 | |
| DHT_Unified dht(DHTPIN, DHTTYPE); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <WiFi.h> | |
| #include "DHT.h" | |
| #include <HTTPClient.h> | |
| #define DHTPIN 5 // DHT sensor pin | |
| float h = 0; | |
| float t = 0; | |
| // Replace with your network credentials | |
| const char* ssid = "YOUR SSID NAME"; | |
| const char* password = "YOUR NETWORK PASSWORD"; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <WiFi.h> | |
| #include "DHT.h" | |
| #include <HTTPClient.h> | |
| #define DHTPIN 5 // DHT sensor pin | |
| float h = 0; | |
| float t = 0; | |
| // Replace with your network credentials | |
| const char* ssid = "YOUR SSID NAME"; | |
| const char* password = "YOUR NETWORK PASSWORD"; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <WiFi.h> | |
| #include <HTTPClient.h> | |
| // Replace with your network credentials | |
| const char* ssid = "YOUR_SSID"; | |
| const char* password = "YOUR_PASSWORD"; | |
| // Set web server port number to 80 | |
| WiFiServer server(80); |