Lamp Control A code to create a Web Server with ESP8266 and a webpage to control a lamp via WiFi. Instructions The code has to be uploaded to an ESP8266 or any other ESP board via an Arduino IDE. The led/lamp must be connected to board's GPIO D1.