An open-source firmware and development kit that helps you to prototype your IOT product within a few Lua script lines.

Open source support:
www.nodemcu.com
NodeMCU Github
link
esplorer
Web server button io control demo
[content_box]
wifi.setmode(wifi.STATION)
wifi.sta.config("ssid","password")
print(wifi.sta.getip())
print(wifi.sta.getip())
led1 = 3
led2 = 4
gpio.mode(led1, gpio.OUTPUT)
gpio.mode(led2, gpio.OUTPUT)
srv=net.createServer(net.TCP)
srv:listen(80,function(conn)
print(conn)
conn:on("receive", function(client,request)
local buf...
Read more