 
 int RECV_PIN = 5;
 int BUTTON_PIN = 6;
+int ANALOG_LIGHT_PIN = 1;
 
 IRrecv irrecv(RECV_PIN);
 IRsend irsend;

unsigned long codeValue; // The code value if not raw
int codeLen; // The length of the code
int toggle = 0; // The RC5/6 toggle state

int lastButtonState;


    pinMode(ledPin1, OUTPUT);
    pinMode(RECV_PIN, INPUT);
    pinMode(BUTTON_PIN, INPUT);
    pinMode(ANALOG_LIGHT_PIN, INPUT);
  
    //WiFi.init();
    WiServer.init(sendPage);
