 StaticJsonBuffer<110> jsonBuffer;
 JsonObject& root = jsonBuffer.createObject();
 
-/*
+
 // OLED Display
+int RSTpin = 19;
 #include <SPI.h>
 #include <Wire.h>
 #include <Adafruit_GFX.h>
 #include <Adafruit_SSD1306.h>
 
-#define OLED_RESET 4
+#define OLED_RESET RSTpin
 Adafruit_SSD1306 display(OLED_RESET);
 
 #define NUMFLAKES 10

#include <Servo.h> 
int servo_pin = 2; // Declare the Servo pin
Servo servo1; // Create a servo object
int pos_open = 130; // open position in degrees
int pos_close = 15; // close position in degrees

//DHT11 Lib
int dhtPin = 24;

// delay between the measurements in Milliseconds
unsigned long stime = 1800000; // delay time between the transmitting
unsigned long mtime = 900000; // delay time between the measurements

boolean isopen; // Field to check if open or closed

