/* Fill-in your Template ID (only if using Blynk.
Cloud) */
#define BLYNK_TEMPLATE_ID "TMPL3Lt4Kz021"
#define BLYNK_TEMPLATE_NAME "Iot Temperatore and humidity sensor"
#define BLYNK_AUTH_TOKEN "ot-W_ApiAzF07qPwktlHlXLxgsYux4no"
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "Arya Airtel";
char pass[] = "mh12ed6256#";
#include <WiFi.h>
#include <BlynkSimpleEsp32.h>
#include <DHT.h>
#include <Preferences.h>
#include <AceButton.h>
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
using namespace ace_button;
Preferences pref;
#define DHTPIN 23 //D23 pin connected with DHT
// Uncomment whatever type you're using!
#define DHTTYPE DHT11 // DHT 11
//#define DHTTYPE DHT22 // DHT 22, AM2302, AM2321
//#define DHTTYPE DHT21 // DHT 21, AM2301
#define SCREEN_WIDTH 128 // OLED display width, in pixels