Guys, I really need your help to combine a web server stored in an esp8266 with Ir receive example, and I am very stuck.
I have the following code:
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
ESP8266WebServer server(80);
const char* ssid="SSID";
const char* password="password";
String webSite,javaScript,XML;
int sensorPin = A0; // select the input pin for ldr
int sensorValue = 0; // variable to store the value coming from the sensor
Does that mean you have attempted to merge them and failed? If so, post that attempt and describe happens when you run it, and what you wanted to happen. If it does not compile, post the error messages, all of them, in code tags.