#include <DHT.h>
#include <ESP8266WiFi.h>
#include <PubSubClient.h>
#define DHTPIN 2
#define DHTTYPE DHT11
DHT dht(DHTPIN, DHTTYPE);
const char* ssid = "Your_SSID";
const char* password = "Your_Password";
const char* mqtt_server = "broker.hivemq.com";
WiFiClient espClient;
PubSubClient client(espClient);
void setup() {
Serial.begin(115200);
dht.begin();
}
void loop() {
}