Components Required:

1. NodeMCU DEVKIT

2. Linux PC/Windows PC (Tested with Windows 10, Ubuntu 14.04 LTS)

3. Micro USB cable

4. 5 mm LED (your favourite colour)

Way to go ->

1. Connect NodeMCU DEVKIT to PC via the Micro USB cable.

2. Write the following Lua scripts and upload to NodeMCU.

init.lua

Webserver.lua

Webserver

Hardware Connections ->

1. NodeMCU Pinout

2. LED connections