/* * IRremoteESP8266: IRServer - demonstrates sending IR codes controlled from a webserver * An IR LED must be connected to ESP8266 GPIO pin 15. * Version 0.1 June, 2015 * * Modified by Alex Willis for Instructables */ #include #include #include #include #include const char* ssid = "yourSSIDHere"; const char* password = "yourPasswordHere"; MDNSResponder mdns; ESP8266WebServer server(80); IRsend irsend(15); void handleRoot() { server.send(200, "text/html", "" "Add your title here" "" "

Add a header here

" "

Power 0x20DF10EF

" "" ""); } void handleIr(){ for (uint8_t i=0; i