About this document
Control Relay with NodeMCU ESP8266 by Widarma Krisna is a document available to read on EtoBox.
This document contains an Arduino code for controlling a relay and lamp using a local web server. The code defines pins for an onboard LED, the light, includes WiFi and web server libraries. It connects to WiFi, sets up the web server to handle requests at the root page and "/setLIGHT" endpoint. The "/setLIGHT" endpoint turns the light on or off depending on the request and returns the new state.
- Author
- Widarma Krisna
- Language
- EN